Wanted to make learning to code fun.

What it does

Encourages people of all backgrounds to learn how to code in a competitive and entertaining way by simulating "hacking".

How we built it

Compiled Java classes at runtime based on what the user typed and run the code against the given "encryption" structure created at the game initially.

Challenges we ran into

Debugging classes which are made by String concatenation and compiled at runtime that can be created in a deterministic way based on various input arguments.

Accomplishments that we're proud of

Creating arbitrary Java classes at runtime that can be compiled and executed as code in parallel to the game execution.

What we learned

We learned a lot about how classes and compilers function by diving into the Java API that allows classes to be compiled at runtime. We learned about how to make a GUI function with a back-end gameplay implementation so the two are modular and independent of one another.

What's next for Stay With Us 2,0

More encryption layers and variety to give the players - GUI improvements and general gameplay modifications. Allow player to change their encryption structure at runtime during the game.

Share this project: