containsmachine

[Solicitation Order] esp8266 game console

 
Overview
1. The code contains multiple built-in games and network clocks (a lot of code, purely hand-typed, all hard work 0_0), and includes some comments. I have never written game code before, and this time I felt very happy. My programming skills are poor and I rely on my own algorithms. There may be bugs, but I have corrected all the bugs I can detect. After all, I am not a software and hardware major in electronics and am a novice, and my time is limited. I welcome experts to modify it as needed. Anyway, I am quite happy with it as a novice like me hahaha.
2. Each game has two difficulties. Press left ← to enter the game for Normal difficulty, and → for Hard difficulty, which is faster.
3. Ah, by the way, there is chicken soup in time, which is randomly generated every time.
4. You can also use a development board with a breadboard and wiring to implement the game console function. The OLED display corresponds to gnd, vcc, io5, and io4 from left to right. The corresponding key positions are defined at the beginning of the program. Note that io16 needs to be added. Resistors can range from 2 to 10k.
5. In fact, I originally just wanted to write a greedy snake, but then I thought it would be better if there was an interface. Then I thought the interface was too spacey and it didn’t look good, so I added a game, and then a startup animation, and gradually it became like this. .
6. The code for Tetris has also been written, but there are too many bugs. I didn’t have time to debug it, so I didn’t add it. I will update it later if I have time. After all, the 8266 memory is quite large, and it is estimated that it can hold dozens or hundreds of these small ones. Games, as long as you have the mind to do it.
7. For the onboard charging module, students who need it can weld the 3.7V lithium battery by themselves.
8. Only an accelerated version of the video (required to be less than 50M) can be uploaded here. The complete video is on station B. My ID is Demon Sword Master.

Acknowledgments: Adafruit SSD1306 drivers (128x64 pixel display by
I2C
).
------> [http://www.adafruit.com/category/ 63_98](http://www.adafruit.com/category/63_98)
Random Nerd Tutorials (Time Program Reference) ESP8266 NodeMCU NTP Client-Server: Get Date and Time (Arduino IDE)
------> [https: //randomnerdtutorials.com/esp8266-nodemcu-date-time-ntp-client-server-arduino/](https://randomnerdtutorials.com/esp8266-nodemcu-date-time-ntp-client-server-arduino/)
PCB The board is a picture of Panda One and Two. I would like to express my gratitude.

I am very busy every day, busy organizing and revising papers. I can only type code and debug at night. If Jialichuang hadn’t held a competition and had a deadline, I really wouldn’t have had it. I have no time to do this. The development process is also a learning process. Thank you again to Jialichuang Company, Lichuang EDA and Lichuang open source platform.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-14 20:49:58

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号