A game engine based on FPGA