Solutions for the Synacor challenge, written in Java. More info at https://challenge.synacor.com/
Found 4/8 codes. Virtual machine is finished and passes all self-checks.
- clone the repo
- import to your IDE as a maven project
- run the virtual machine (constructor expects the binary file as input) OR run the pre-configured App class
Add stepping for easier debugging
You can run the machine by passing the challenge binary to the VirtualMachine constructor and calling the run()
method or use the pre-configured App class in the Client package.
If you aren't using the App class, you'll need to implement saving/loading states yourself
Using the App class allows you to save the state by simply typing "save" or "load" when an input command is encountered. Make sure to change the file path before you do this.