Skip to content

Commit 3726ebd

Browse files
committed
added screenshots, updated readme
1 parent 91c92cd commit 3726ebd

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
# Java Racer
2-
3-
A 2D basic racing game that features easy to custimize maps, collision detection, car behaviour physics, different surface types with different behaviours and a point system.
1+
# Java Racer Generative Algorithm
42

3+
A Generative Algorithm AI implementation on a 2D racing simulator "Java Racer" (https://github.com/boraakoguz/JavaRacer)
54

65
## Screen Shots
7-
The start of the game
8-
9-
![start](https://github.com/boraakoguz/JavaRacer/assets/66472581/306fd8f5-973d-454e-a650-4a1edbd6436f)
10-
11-
Going off bounds will reduce points
12-
13-
![loss](https://github.com/boraakoguz/JavaRacer/assets/66472581/76bd1441-06fb-4d53-8900-c5cf9ced2ff2)
14-
15-
Going off the track will reduce further points
16-
17-
![offtrack](https://github.com/boraakoguz/JavaRacer/assets/66472581/3454d42d-cbea-4b46-9466-a10f74b6c36d)
186

197
Map creation is as simple as a 100x100 png. Using the default rgb values in paint, the color coding is as follows:
208
- Green: Grass
@@ -33,10 +21,9 @@ If you want to create your own map, edit the track.png file in source directory
3321

3422
## TODO
3523

36-
- Add car upgrades and car customization
24+
- Add gradual saving to reduce training time
3725

38-
- Physics overhaul
26+
- Add post-completion check up to improve speed on some sectors of the track
3927

40-
- Add Multiplayer (May be another project)
4128

4229

screenshots/example.gif

7.31 MB
Loading

screenshots/screenshot1.png

78 KB
Loading

source/save.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
690
2-
400
1+
710
2+
420
33
993.2700000000002
4-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 4, 3, 1, 2, 2, 4, 0, 2, 4, 4, 2, 0, 1, 2, 2, 2, 2, 0, 2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