C代码 俄罗斯方块游戏
从c++代码移植为c代码的俄罗斯方块游戏,为了在dev-cpp环境中编译运行图形界面,所以还是需要使用c++编译器。本例只是展示用C代码实现c++面向对象编程思路。
本例使用了EGE图形库:https://xege.org/ EGE20.8版本。
/*
Copyright zmofun All rights reserved!
http://www.zmofun.com
2017.2.5
dev-cpp版本,参考以下资料移植:
https://blog.csdn.net/qq_39151563/ar...