feat:add new class and use game params model

This commit is contained in:
Kylin_on_Mac
2023-11-09 16:23:39 +08:00
parent c777814018
commit c4953cd57a
5 changed files with 90 additions and 26 deletions

View File

@ -1,10 +1,10 @@
{
"time_to_play": 300,
"playground_size": [
100,
200
],
"playground_size_w":100,
"playground_size_h":200,
"score_to_pass": 10,
"good_food_count": [3,0,0],
"bad_food_count": [0,0,0]
"good_food_count": [0,0,0],
"bad_food_count": [0,0,0],
"fish": 3
}