書名: Rust Programming By Example作者名: Guillaume Gomez Antoni Boucher本章字數(shù): 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
推薦閱讀
- 肖鷹文集初編·批評卷
- 公共圖書館文獻信息資源政府采購
- 公共圖書館動漫服務(wù)研究
- 檔案社會控制功能研究
- 非物質(zhì)文化遺產(chǎn)數(shù)字化研究
- 高校圖書館門戶網(wǎng)站建設(shè)(谷臻小簡·AI導(dǎo)讀版)
- 檔案保護技術(shù)
- 信息系統(tǒng)工程(第2版)
- Swift Game Development(Third Edition)
- 構(gòu)筑閱讀天堂:圖書館服務(wù)設(shè)計探索
- 中國古典文獻學(xué)(東北師范大學(xué)文學(xué)院學(xué)術(shù)史文庫)
- 守望與思索:人文清華講壇實錄III
- 文獻價值:理論文獻學(xué)的價值論解讀
- 信息檢索與案例研究
- 中國圖書館轉(zhuǎn)型風(fēng)險研究