Commit Graph

49 Commits

Author SHA1 Message Date
Patrick Tschuchnig
84a6e58ba3 fixed a bug where starting the game while displaying the end screen was allowed, causing an undefined state in the engine and softlocking the player. now causing an inhibit state to block the start pin and also only allow checking for the game start if the game is not currently ending 2019-09-11 12:02:41 +02:00
Patrick Tschuchnig
60f0545878 changed a stupid behaviour that allowed a backspace to be entered as the first char of a name 2019-09-11 11:45:29 +02:00
Patrick Tschuchnig
b42813cf75 changed when the game stopped routine is being called, as it was called while the game was in ending state, which wasnt intended 2019-09-11 11:40:53 +02:00
Patrick Tschuchnig
7e67391678 changed the game start timer to be a one-shot in the game_ending routine. changed a spelling mistake in variable declaration. 2019-09-11 11:27:43 +02:00
Patrick Tschuchnig
72a08a23b6 changed timing system for the game\'s end to be tick based 2019-09-11 11:14:59 +02:00
Patrick Tschuchnig
48df332b32 changed timings, changed a problem with the game restarting, changed logic for game start to be for a closing button, changed pin for errors to be 33 (pull up) 2019-09-11 10:57:16 +02:00
Patrick Tschuchnig
9e2086611c fixed incorrect variable name 2019-09-11 10:05:22 +02:00
Patrick Tschuchnig
22208f9cf7 added general pinout info at the top, changed the start pin to have an inhibitor latch 2019-09-11 10:03:24 +02:00
Patrick Tschuchnig
9eda20c47d fixed uninitialised var for previous change 2019-09-10 16:48:00 +02:00
Patrick Tschuchnig
5d62d58478 slight changes to game loop to not constantly change the led colours at every tick 2019-09-10 16:46:49 +02:00
Patrick Tschuchnig
16c32133cb changed initialisation ordering 2019-09-10 16:38:31 +02:00
Patrick Tschuchnig
6412bbd26f first general code revision, unstable and untested. restructured the definitions, changed the game to a tick-based system, changed game loop to have a game state instead of being a strict script based state machine, lots of small changes. changed naming convention from camel case to underscore-spaced. unified naming convention. changed variable naming to reflect what the variable is used by. 2019-09-10 16:35:08 +02:00
Patrick Tschuchnig
da2f53a5a3 changes to orientation and colour 2019-09-10 16:09:06 +02:00
Patrick Tschuchnig
7048bc3800 changing colours 2019-09-10 14:51:19 +02:00
Patrick Tschuchnig
ede64d8199 changed default behaviour of escape to be exit_application, not shutdown. shutdown is now q 2019-09-10 14:44:13 +02:00
Patrick Tschuchnig
64f645a76d testing white background colour 2019-09-10 14:05:35 +02:00
Patrick Tschuchnig
d96c81d2ea the random use of upper and lowercase letters is horribly annoying... 2019-09-10 14:01:06 +02:00
Patrick Tschuchnig
d68fe7bca8 fixed screen size variable 2019-09-10 13:59:54 +02:00
Patrick Tschuchnig
049f5e992f added image 2019-09-10 13:58:30 +02:00
Patrick Tschuchnig
25cc1ec5f8 added missing import 2019-09-10 13:57:34 +02:00
Patrick Tschuchnig
cfab44e3aa merged image display functions and functionality from imagetest.py 2019-09-10 13:54:01 +02:00
Patrick Tschuchnig
c0ba73e5f8 first test for displaying images 2019-09-10 13:48:04 +02:00
Patrick Tschuchnig
ee9f92d4fd first merge with the led program functions, unstable and untestet 2019-09-09 08:42:53 +02:00
Patrick Tschuchnig
478922e3d9 rgb led steuerung programmiert (rumpf) 2019-09-09 08:20:40 +02:00
Moris Krajnc
4f67b16bb7 removed all timePerError lines/commands 2019-08-30 09:56:04 +02:00
Moris Krajnc
6fe78f069a removed errorPinAddTime 2019-08-30 09:42:37 +02:00
Moris Krajnc
de4b47c350 removed error pin 2019-08-30 09:34:41 +02:00
Moris Krajnc
0c0dce8537 minor fixes 2019-08-29 15:33:08 +02:00
Moris Krajnc
85881f3851 added less than 3 letter names 2019-08-29 15:05:55 +02:00
Moris Krajnc
af13bc47be text positioning 2019-08-29 14:53:04 +02:00
Moris Krajnc
8e6476b8b2 text positioning 2019-08-29 14:49:42 +02:00
Moris Krajnc
cf3be5ad7e text positioning 2019-08-29 14:48:09 +02:00
Moris Krajnc
f17e382c04 color changes 2019-08-29 14:42:57 +02:00
Moris Krajnc
c8999fb861 color changes 2019-08-29 14:38:00 +02:00
Moris Krajnc
eb6e421473 highscore list changes 2019-08-29 14:15:30 +02:00
Patrick Tschuchnig
78cf06d039 checkScore Function for highscores 2019-08-29 13:02:51 +02:00
Moris Krajnc
d90c6379c8 corrected font config 2019-08-29 09:22:27 +02:00
Patrick Tschuchnig
e8e93ec91e positionen des texts verändert 2019-08-28 14:51:28 +02:00
Patrick Tschuchnig
afa151126d added test program for highscore entry 2019-08-28 11:42:10 +02:00
Patrick Tschuchnig
b701f3215c kleine verbesserungen 2019-08-28 08:07:47 +02:00
Patrick Tschuchnig
2286a6c950 comments 2019-08-27 15:39:35 +02:00
Patrick Tschuchnig
21e1130522 added debug messages 2019-08-27 15:17:26 +02:00
Patrick Tschuchnig
769c6f914e changed the way the game ends 2019-08-27 15:15:40 +02:00
Patrick Tschuchnig
43e0d0dc43 event handler sleep timer included, for less cpu usage 2019-08-27 15:06:50 +02:00
Patrick Tschuchnig
a46cf22eb1 signal handling for controlled exit 2019-08-27 14:58:49 +02:00
Patrick Tschuchnig
f86cca398c kleine änderungen an der struktur des programms, test 2019-08-27 13:28:18 +02:00
Patrick Tschuchnig
04a38a41c9 erste rev. des vom web importierten programms 2019-08-27 13:27:50 +02:00
Philipp Clima
e47caa28d2 Ursprüngliche Datein von RaspberryPi hinzugefügt 2019-08-20 14:21:53 +02:00
Philipp Clima
74edf7b3c8 first commit 2019-08-20 13:46:17 +02:00