Skip to content

DarrienG/RockPaperSmash

Repository files navigation

Fair Disclaimer

This code is really, really old, and the base of almost everything was written before I really had a good grasp on how to code. Please don't look too hard at the code unless you're planning on helping on the rewrite it needs :D

With the said, the game still works, so read on below if you don't care about the code.

ROCK PAPER SMASH

RPS-IMAGE

FAST STARTUP

I don't care how it works, just let me play the damn game.

Make sure you have Java installed.

Download RPS.

Open a terminal full screen. Unzip RPS and run the binary in the bin folder.

$ cd RockPaperSmash/bin

# If on Linux or macOS
$ ./RockPaperSmash

# If on Windows:
$ ./RockPaperSmash.bat

Introduction

Rock Paper Smash is a fighting game that pushes the rock, paper, scissors meta of the Super Smash Brother series to forefront.

In standard Smash Bros. a player has three main options: attack, shield, and grab. While there are lots of other things you can do, these are the three main categories.

In Rock Paper Smash the idea is the same, you have the three same options: attack, shield, and grab. Attack when the opponent shields, and you get punished, shield when your opponent grabs and get grabbed, grab when your opponent attacks, and you get hit. Simple, right?

OP

When you lose a round, rather than instantly die though, you gain some percent damage. The more damage you get, the higher the the likelihood a move from your opponent will kill.

Each character has different weights, moves with different damages, and abilities, so the game technically plays the same with each character, but the when you die, and when you kill other players is different.

Setup

Got Java? No? Then go get it and come back.

Click on Releases in the top bar, and download the zip that'll probably be called RPS.zip.

Extract all of the files from the archive.

Since I wrote this when I didn't know how to make a GUI and UMass Lowell only teaches commandline programs, this only works in a commandline. Welcome back to the 1980s. Open terminal if you're on Linux or OS X, or Command if you're on Windows.

Navigate to the directory you unzipped in your command prompt.

Maximize your terminal to get the full viewing experience 😎

Finally, type this command:

java -jar RPS.jar

Fox for life

Troubleshooting

I'm on Windows, why does everything look weird?

Fight me Bill Gates. Windows uses a weird font for the terminal. Change it to something more standard to make it look better.

Heeeelp everything doesn't fit on my screen

Go to your terminal settings, and make the font smaller. ✅

Contributing

WE FINALLY have a build system, so this is now contributable.

If you want to add characters, check out understand.txt in src/main/resources/stats/understand.txt

It'll give you the scoop on the garbage file format I wrote years ago and how it works.

If you want contribute to the code, good luck.

Honestly it's the worst and was written years ago by me. It was "refactored" recently so that it will work in jars and the like, but that doesn't mean it's good.

Happy to have contributions though :)

building:

./gradlew build

Beautiful. To distribute your own version, use ./gradlew distZip

About

A small Smash Bros/rock paper scissors type game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages