ubilab-ws21 / puzzle-5

0 stars 1 forks source link

2048 game development on HoloCube #28

Open archerindigo opened 2 years ago

wjb321 commented 2 years ago
  1. [x] 2048 game programming and test on visual studio
  2. [x] LVGL Animation analysis and 2048 realization
  3. [ ] IMU driver and lvgl combine -> game control
  4. [x] wechat app control 2048 by using BLE
wjb321 commented 2 years ago
  1. [x] 2048 game first developed on VS, and using the library Easyx for images UI. there are some basic logics of the game:

A, initial map, img and imgindex respectively are map matrix, class img for storing the selected num.png, array for the numbers with same order like class img
B, loadimag(easyxlib), just load the imags that you selected
C, drawmap,base on the size design the map, main func putimage()
D, generate numbers, because after moving one step there will be new number generated
E, basic moving directions(L,R,U,D) functions F, test which key is pressed? keyPress G, new hint imag generates when reach set goal

wjb321 commented 2 years ago

initial_map----- origin GI game----- gaming GI hint_for_puzzle----- after reaching goal

wjb321 commented 2 years ago

realizing the BLE control 2048 game on esp32. briefly designed the UI, there are some issue need to be done further

wjb321 commented 2 years ago

IMG_0330 2 remote control game without interface and can not exit game

wjb321 commented 2 years ago
wjb321 commented 2 years ago

realize the interface of BLE control, can remote control game and shift game picture

wjb321 commented 2 years ago
wjb321 commented 2 years ago

the upper tasks are done, only the mpu and gif have been left for gif, the lib is v8 while the project for game is based on v7, so the driver porting will take some time, i will update it later