- Rust Programming By Example
- Guillaume Gomez Antoni Boucher
- 80字
- 2021-07-02 19:13:08
Events and Basic Game Mechanisms
In the last chapter, we saw how to add dependencies into a project thanks to Cargo and the basics of the SDL2 library.
We now have all the Rust basics in order to write the Tetris game. Time to look at how we will actually write Tetris.
In this chapter, we will cover the following topics:
- Tetrimino
- Creating tetriminos
- Generating a tetrimino
- Tetris struct
- Interacting with the game map
- SDL events
- Score, level, lines sent
推薦閱讀
- 科學(xué)普及組織活動(dòng)讀本
- 文獻(xiàn)保護(hù)中英雙解詞語手冊(cè)
- 校勘學(xué)大綱
- 文件、信息商業(yè)化服務(wù)機(jī)構(gòu)建設(shè)研究
- 民國文獻(xiàn)辨?zhèn)螌W(xué)研究
- 高校圖書館門戶網(wǎng)站建設(shè)(谷臻小簡·AI導(dǎo)讀版)
- 檔案檢索: 理論與方法
- 李一氓文存(第二卷):存在集三編下冊(cè)
- 北京大學(xué)中國古文獻(xiàn)研究中心集刊·第十四輯
- 云環(huán)境下的文件檔案可信性保障
- 中國古典文獻(xiàn)學(xué)(東北師范大學(xué)文學(xué)院學(xué)術(shù)史文庫)
- 大學(xué)圖書館信息服務(wù)與信息素養(yǎng)教育理論與實(shí)踐研究
- 魯迅輯校古籍考
- 近代中國的學(xué)術(shù)與藏書
- 公共圖書館知識(shí)產(chǎn)權(quán)信息服務(wù)體系建設(shè)