Yevhen Babiichuk (DustDFG)
|
324fbaaec0
Extract class Game that is responsible for game logic only
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
fa2aef65f0
Rename Game to App
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
cab6e7941b
Rename Field to RectShapeField
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
02dcc7e26d
Game: use pointer to abstract AField instead of concrete Field
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
88a77d4ac4
Clean header of Field class
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
39a545c476
Delete intermediate storage for Tile information from AField to make it more
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
94fd99690e
Increase version
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
8bf6e1bdda
Game: Add base bounds check and apple handling
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
878be36462
Game: use field size for controlling size of field size
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
834c70fd91
Chane version to 0.1.0
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
a6f6585f75
Add license notice
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
bcf77ae6d4
Add base snake movement
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
d950dce6c9
Game: Draw snake and apple on field
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
2b77ba050b
Make Snake::body public member to allow Game class use it
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
31a9d5c216
Add class Game
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
e409acef4c
Rewrite Field class to handle rotation of tiles
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
d57ca5ae91
Add values for members of Tile::Rotation enum
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
2f6a22d705
Update Field class to draw based on state of tiles
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
0ef55c15c5
Make AField::getTile const method
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
4420f5b1d1
Create window with correct fullscreen videomode
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
5e9bbd1fec
Evaluate centered rectangle for field
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
11890b392e
Rewrite Field::draw function to use shapes created inside constructor
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
7ab954e047
Add implemnetation for Field constructor
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
8a199b8e8a
Make AField::size member protected
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
2c2d10f4f8
Format code
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
c18090cc89
Add implementation to AField::erase
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
0406c04fbf
Add implementation for AField::getTile and AField::setTile
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
2392ee183e
Make constructor and destructor of AField protected to make it really abstract
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
a7462cd6ed
Add destructor of AField and implementation for it's constructor
|
1 year ago |
Yevhen Babiichuk (DustDFG)
|
02b564b6a5
Add AField::getTile getter to prototype
|
1 year ago |