Day 6 - I have a very basic game now

So yeah, the game can be played.  Either you shoot the two criminals or they shoot you.  Once one of the two things happen, the game is over.

There is no title screen, no menus, no stats etc.  I will add this tomorrow and try to polish everything.
No sound / music yet, gonna try to make something and add it.
Maybe i will add more maps.  I have a small script I use to make random maps.  Maybe 5 or so, and 1-5 criminals per map.

Usually, you only see yourself (green) and the lasers of both you and the crimnals, and their shooting effects.
But using space, you can use the radar, and for a short while, you will see everything, including walls.  Slowly everything goes black again, and you have to wait 5 seconds.

Movement is done via WASD, and aim is done with the mouse, while the radar can be used using SPACE.

Here are two screenshots.  Once you click the left mouse button, you shoot.  The hit where the shot went is shown with a small particle effect for both player and criminals.  The smaller red and green dots/circles denote where the shot would go if fired.

EDIT: Just come to think of it.  Unless the radar is used, you can't see the criminals.  Maybe I will remove the criminal aiming line (red).

Using the radar

On a personal note, I am happy that I still got a basic-game done, which is very very basic right now, but it can be called a game.  The CPU is quite "clever".  The CPU is NOT cheating btw.  It only uses the pathfinding algorithm once it has used the radar, and the CPU radar has the same cooldown of 5 seconds.  Otherwise it moves, aims and shoots randomly.

I will explain everything in detail tomorrow.

One last thing though: I have decided that this will be my last PyWeek for a while.  Being 31 years old and working full-time as a softdev is enough for me already, and during corona, I had to work even more, which has done me no good last year.  No burn-out yet, but my lead dev once told me to be careful.  So I gotta take care of myself more ;).  And I suggest everybody to do the same.