Author Topic: System Crash 2  (Read 1876 times)

0 Members and 1 Guest are viewing this topic.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
System Crash 2
« on: January 25, 2014, 10:42:16 pm »
Hello everyone.

It's been a few years since I last actually released a project here on Omni. However, recent events have had me revisit one of my old projects.

This is System Crash 2, the second iteration of my 2D Shooter. The original can be found here.

In its current state, the game is still more of a tech demo than anything else. It plays the same as the original version, however there are some changes.

Primarily, there are now two kinds of enemies:
Dumb Bots, which merely move towards the player at a low rate, and
Smart Bots, which are controlled via a Recurrent Neural Network.

As the game progresses, Smart Bots become more adept at killing the player through the application of a genetic algorithm. After each round, smart bots will be chosen either for being able to survive the longest or for dealing more damage to the player than other bots. These bots will then be used to populate the next round, with each offspring being mutated to create potentially new behavior.

As previously stated, the game is still a work in progress. However it is playable. It just doesn't have all the niceties the original had, like a high score or menu.

Controls:
   WASD/Arrow Keys - move
   Space - Sprint
   P/O - Pause/Unpause
   Esc - Reset
   RMB + CTRL - Select Bot to render Brain
   RMB - CTRL - Clear Bot Selection

Here are some ingame screenshots:





The Game is attached to the post.

Known Issues:
    -Title says HuntingBots
    -Weapons not properly balanced
    -Selected Bot does not clear unless player moves
« Last Edit: January 26, 2014, 07:36:18 pm by Scipi »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: System Crash 2
« Reply #1 on: January 25, 2014, 10:53:59 pm »
It's not quite playable with a touchpad, but otherwise, it's pretty nice.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Re: System Crash 2
« Reply #2 on: January 26, 2014, 03:40:57 pm »
No, it's certainly not. I could try implementing a more laptop friendly control scheme, though

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +22/-1
  • I do stuff
    • View Profile
Re: System Crash 2
« Reply #3 on: January 26, 2014, 06:58:18 pm »
Nice! It's cool to see a game with genetic AI. :) I would suggest a few more genes (circles are nice and all, but...) and a border/resizing (I run XMonad and in fullscreen view it shows the right size but doesn't show me a border).
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 35s, Casio Prizm, TI-Nspire CX CAS, HP-28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: System Crash 2
« Reply #4 on: January 26, 2014, 07:34:35 pm »
Have an update:
Now pressing CTRL + RMB will select a bot to have its brain rendered to the screen. pressing RMB without CTRL will clear this selection.

Here's a screenshot:


I temporarily set the max number of incoming connections of a node to 5 for this shot, the game itself has around 20 and it does not show too well.

New Issues:
    -Selection will not clear unless Player moves

I will update the first post with this.

Nice! It's cool to see a game with genetic AI. :) I would suggest a few more genes (circles are nice and all, but...) and a border/resizing (I run XMonad and in fullscreen view it shows the right size but doesn't show me a border).

Resizing will definitely be added once I learn how to do it in JSFML. Or I might just make the game fullscreen. Either work, I suppose.

I also have code to support all the other aspects of genetic algorithms (character sequence of genes, crossover, etc) however I am going to wait until I port this over to C++ before I add new genes. Main reason being, another project I did as a proof of concept for GA trained RNN's is rather inefficient and suffers slowdowns due to Java's Garbage Collector. This game already does too, to some extent.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55812
  • Rating: +3149/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: System Crash 2
« Reply #5 on: December 06, 2014, 09:58:00 am »
For some reasons I totally missed this. I like how this came out and I'M gonna download this to try it as soon as I get some time. :)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter