Commit Graph
12 Commits
Author SHA1 Message Date
fabian dfe99408c9 Small fixes. 2019-10-23 05:41:39 +02:00
fabian 7b8dabee43 Added another potentially good neural net to effect matrix. 2019-10-18 17:02:54 +02:00
fabian 54925dfc0e Snake effect now uses a neural net with a hidden layer; a bug in _is_free() that lead to lots of snakes committing suicide was fixed; neural net weights are now given as binary representation of a float to prevent rounding errors. 2019-10-18 06:40:09 +02:00
fabian 306f72d838 Added another, slightly better neural net to effect_snake. 2019-10-17 05:37:20 +02:00
fabian 230a1f1a91 Effect snake now uses a "proper", albeit simple neural network instead of simple decisions. 2019-10-16 12:27:58 +02:00
fabian ec379c009e Effect snake is now a real snake game, with apples, dying and even a more or less smart AI. 2019-10-15 20:06:19 +02:00
fabian 382631d7d7 Effect#loop now gets the time since the last run of the loop in ms. This enables
the effects to show animations that stay fluid independent of the current frame rate.
2019-10-01 06:29:32 +02:00
fabian 36edb94ff0 Metrics now include the current effect's name. 2019-09-25 18:11:03 +02:00
fabian 0163bbef6c Some memory leaks fixed. 2019-06-19 22:23:49 +02:00
fabian 83254f2eaa Windows. Everything now is implemented in Windows. ;-) (Okay, just the drawing stuff. And defnititely nothing by Microsoft.) 2019-06-11 19:48:09 +02:00
fabian 96442b48cc SnakeEffect now turns into a random direction when hitting a wall. The code is now also a whole lot cleaner. 2019-06-04 05:57:27 +02:00
fabian a2fe1461ad Added effect "snake". 2019-05-31 05:45:07 +02:00