My First ever java project for a hackathon, and my second ever hackathon!
Program Description: In Code Nexus, you are the main character who has entered a supercomputer under siege by the villainous AI, Nemesis. With its eyes set on conquering both the digital and real worlds, Nemesis has nearly taken full control of the computer. Armed with only your mouse, you must click to defeat hordes of virus goons and navigate the complex networks of Code Nexus. Along the way, you'll find an invaluable ally in Gemini, a virtual assistant dedicated to helping you dismantle Nemesis's plans. Together, you'll battle through increasing challenges, and with he help of each other, be able to ultimately face the formidable AI in a fight to save both realms from certain doom.
Game Details: In Code Nexus, players input their name, which is processed and displayed as their username. IF statements manage gameplay scenarios, deciding actions in methods like mouseClicked and ActionPerformed. Random numbers respawn viruses and Nemesis at random coordinates and determine username probabilities. The game uses for loops to store story images and while loops for game backgrounds. String class methods manipulate user input, and try-catch statements handle sounds, input, and fonts. Two arrays store story and background images. Custom methods handle sound effects and virus respawn positions. Additional classes include one for the player and one for viruses. JOptionPane dialogs inform the player of key messages. A JFrame uses graphics, animation, and collision detection for dynamic gameplay, with sound effects for background music, virus deaths, and player deaths.
Log in or sign up for Devpost to join the conversation.