Commit Graph

71 Commits

Author SHA1 Message Date
Valentino Orlandi 20af10d29f
Improvements and updates
Updated Snake game includes and resources.
Moved 'Snake' and 'Food' structs in class files.
Added new game modes: Hunt and Battle.
Updated UI.
2022-11-24 22:25:16 +01:00
Valentino Orlandi 068f9faac0
Update
Updated CrissCross includes and resources
2022-11-24 22:20:13 +01:00
Valentino Orlandi 2630b7fc4b
Moved Games files 2022-11-24 22:15:37 +01:00
Valentino Orlandi 27b90b2c1d
Documented headers
Qt-style doxygen documentation comment blocks
2022-11-19 00:07:56 +01:00
Valentino Orlandi 6bc706d188
Fixed self-collision detection 2022-11-13 01:43:57 +01:00
Valentino Orlandi 9472ce2043
Improvements
Added Powder theme
2022-11-12 00:46:56 +01:00
Valentino Orlandi 7f2ec84e40
Added Candy and Herb themes 2022-11-11 23:32:27 +01:00
Valentino Orlandi 6b420bac5a
Improvements
Stylesheet as default model and themes as colors maps
2022-11-11 20:51:12 +01:00
Valentino Orlandi d6f562682c
Fixed Snake score position 2022-11-10 18:22:18 +01:00
Valentino Orlandi 799dba4acf
Updated games to use stylesheets
Added GameSec shared class.
Added Ash theme.
2022-11-10 18:20:47 +01:00
Valentino Orlandi 6e4c02c062
Fixed cell size 2022-10-24 23:08:42 +02:00
Valentino Orlandi 3ed82a8ba9
Code improvements 2022-10-23 16:41:36 +02:00
Valentino Orlandi c59d7e0066
Improvements
Improved AI choice
2022-10-19 23:24:06 +02:00
Valentino Orlandi df1bcfd22f
Improvements
Improved game logic.
Added water field limits.
Removed Tile enum and field array, added relative logic as replacement.
Added increasing of the speed after reaching max snake length.
2022-10-19 23:23:06 +02:00
Valentino Orlandi c3c1bee77e
Improvements
Removed QFrame container for the QGraphicsView
2022-10-19 23:16:30 +02:00
Valentino Orlandi cd6c261850
Improvements 2022-10-19 17:39:56 +02:00
Valentino Orlandi 06b7296ad5
Improvements
Modified game logic processes:
- key events are now stored in a queque and processed separately
- improved collision detection
- improved snake body growth
2022-10-19 17:39:10 +02:00
Valentino Orlandi d7a61fd641
Improvements and updates
Updates related to the QGraphicsView usage.
Implemented game logic.
Code improvements.
2022-10-18 22:17:19 +02:00
Valentino Orlandi 9733931a7f
Improvements and updates
Added 'PLAY' button.
Morphed field QFrame into QGraphicsView.
2022-10-18 22:09:39 +02:00
Valentino Orlandi d52fa274d6
Started developing Snake game 2022-10-17 20:18:00 +02:00
Valentino Orlandi 94975e2236
Added CrissCross game 2022-10-16 16:17:08 +02:00