這一是款經典遊戲:俄羅斯方塊,原始使用Xcode + OpenGL開發。
- 第一版:不知道怎麼兜出來的程式碼、制式化的。
- 第二版:整理過的程式碼、動態配置記憶體、讀檔、新增切換方塊功能。
- 遊戲開啟後會先讓使用者輸入格子的大小
- 方向鍵:左、下、右 可移動方塊
- 方向鍵:上 可旋轉方塊
- 空白鍵:可讓方塊快速掉落到下方
- S:切換方塊
- R:重新開始
- E:結束遊戲
視窗分別有兩個,白色為遊戲主場,黑色可看到分數及等級。
遊戲過程中,方塊會隨著時間加快。隨分數不同,等級也有所不同。
final personal project for C++ programming class
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.