From 2347efdb62eb634f581c129593213f90d4975b4a Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 2 Feb 2021 11:42:07 +0100 Subject: Add new game to web --- common/games.js | 18 +++++------------- games/img/game_retro_maze_3d.png | Bin 0 -> 69197 bytes 2 files changed, 5 insertions(+), 13 deletions(-) create mode 100644 games/img/game_retro_maze_3d.png diff --git a/common/games.js b/common/games.js index 45d2768..3ce9e1f 100644 --- a/common/games.js +++ b/common/games.js @@ -22,7 +22,8 @@ $(document).ready(function() { 'game_wave_collector', 'game_transmission', 'game_roomba', - 'game_repair']; + 'game_repair', + 'game_retro_maze_3d']; var exampleDesc = [ 'arkanoid', @@ -43,7 +44,8 @@ $(document).ready(function() { 'Wave Collector', 'Transmission Mission', 'Cat vs Roomba', - 'RE-PAIR']; + 'RE-PAIR', + 'RETRO MAZE 3D']; for (var i = 0; i < exampleName.length; i++) { @@ -53,17 +55,7 @@ $(document).ready(function() { if (filterType == 'sample') linkTag = ''; else if (filterType == 'game') linkTag = ''; - else if (filterType == 'user') - { - switch (exampleName[i]) - { - case 'user_super_red_rope': linkTag = ''; break; - case 'user_taptojamp': linkTag = ''; break; - case 'user_funwithsat': linkTag = ''; break; - default: break; - } - } - + $('#container').append( '
' + linkTag + '

' + exampleDesc[i] + '

' + diff --git a/games/img/game_retro_maze_3d.png b/games/img/game_retro_maze_3d.png new file mode 100644 index 0000000..1af0598 Binary files /dev/null and b/games/img/game_retro_maze_3d.png differ -- cgit v1.2.3