Creators: Harrison Wilkinson, James Hopkins, Sarp Undeger
Summary: Avatars of Jhornag is an RPG game that's turn based where you have the opportunity to progress across a board, collect currency, upgrade your weapons, and fight other players. The goal of the game is to reach the end of the game before your opponents and defeat the final boss before they can. If you're into cool lore, boss battles, collecting loot, and most importantly screwing over your friends, well look no further.
Optimal Players: Anywhere between four and six players makes for an optimal playing experience.
The expected time to play is about 30 minutes, with an approximately 15 minute set-up.
One Arduino Board is needed per game player.
Lore: Jhornag was once a peaceful land led by the great King Ulrec. He had two sons, his heir Akabo and the young Hazzard. Hazard grew furious at his father’s apathy towards him and was jealous of the people’s love for his older brother. This anger and jealousy quickly grew into hate. Hazzard studied the forbidden dark magics and raised an army against his father, exiling him far from the land he once ruled. Akabo, desperate to retake his father’s kingdom and defeat his evil brother, searched the land for worthy warriors to fight Hazzard’s hordes. Those he found were named the “Avatars of Jhornag”
In order to begin to play “Avatars of Jhornag,” you will need to print the game board (17” x 17”), wire the Arduino appropriately, including setting the servo in the proper orientation. The servo should be dual locked between the RedBoard and Breadboard, and the 2 wing servo attachment must be positioned with it initially being parallel to the boards and able to spin counterclockwise, locked in the clockwise direction.
Servo Setup
Use about an inch of dual lock tape and paste it on the bottom on the board plate between the Breadboard and RedBoard, parallel to both.
Do the same with another inch on the servo motor and attach it to the board.
Using the two-winged attachment that looks like an I, attach it to the servo motor making sure that it is placed in such a way that it is locked from turning clockwise. It should be parallel to the boards.
Take a paper clip and either bend it manually or use pliers to make it straight.
Bend about an inch off the paper clip and hook it through the topmost hole in the attachment
Align the paperclip through the RedBoard side of the plate and bend off the excess that extends past the end of the plate.
Tape the Hazzard cut out at the skull to the base plate, the legs should hang below.
Tape the bent excess piece to Hazzard’s neck. Manually turn it to make sure there is no friction and that it moves freely.
Hazzard PDF (Used for Servo on GameBoard)
Avatars PDF
The space that's marked in red on this board are the shortcuts of the board. While it makes it easier to reach the end of the board, there is some risk involved. If a player is on a shortcut tile and rolls either a one or a six they move back to the start of the map. The only way to advance on these shortcut tiles and be okay is if you roll the dice between one and six.
#include <iostream>
#include <time.h>
#include <random>
using namespace std;
char answer, cont;
int bruh;
bool game_is_going;
int main() {
srand(time(NULL));
game_is_going = true;
while(game_is_going) {
cout << "Is this for loot or for categories? \nL/C?\n";
cin >> answer;
switch (toupper(answer)) {
case 'C': {
bruh = rand() % 9 + 1;
char categories[9][20] = {"Fast Food", "Beverages", "Sport Teams", "Video Games", "Movies", "US Cities",
"Clothing Brands", "College Degrees", "Universities",};
cout << "Your category is " << categories[bruh];
}
break;
case 'L': {
bruh = rand() % 12 + 1;
char loot[20][30] = {"1 coin", "2 coins", "3 coins", "4 coins", "5 coins", "6 coins", "7 coins",
"8 coins",
"9 coins", "10 coins", "Upgrade a weapon one tier",
"Downgrade an opponents weapon",};
cout << "Your loot is " << loot[bruh];
}
}
cout << "\n\nGo again?\nY/N\n";
cin >> cont;
if(cont == 'N'){
game_is_going = false;
}
}
return 0;
}
Wiring Diagram
Wiring Instructions:
c15 - (-), c16 - (+), c17 - d5, c18 - 13, c19 - (-), c20 - 12, c25 - 11, c26 - 10, c27 - 9, c28 - 8, c29 - (+), c30 - (-), d4 - (-), j1 - (-), j3 - 7, j6 - (-), j8 - 6, j11 - (-), j13 - 5, j19 - 4, j21 - (-), j27 - (-), j28 - 3, BLACKSERVO - (-), REDSERVO - (+), WHITESERVO - 2, 5V - (+), GND - (-)
LCD: A15-A30, Potentiometer: A4,A5,A6,
Button1: e1,e3,h1,h3, Button2: e6,e8,h6,h8, Button3: e11,e13,h11,h13
Buzzer: (+) - f19, (-) - f21, Switch: f26, f27, f28
The dice rolling for AOJ will be done remotely via https://www.random.org/dice/. At the beginning of the game each player will roll the dice once to determine who gets the right to be the first to pick their characters. The characters are as follows:
Akabo: The human prince, son of the deposed king of Jormag, Akabo is an honorable knight who wields deadly swords to cut down enemies.
Grim: From the depths of the underworld, Grim uses his dark magic and scythes to curse his foes into oblivion.
Alenor: The dark wizard Alenor uses his wands and spells to obliterate everything and everyone before him.
Tuzzick: From the mountains comes the war-dwarf Tuzzick whose axes cut deep and cut true.
Bugvog: The greenskin Bugvog uses clubs and blunt weapons to clobber every enemy in sight.
Cyber: Finding his way to Jhornag through a time portal, Cyber blasts lasers from his metallic hands to vaporize his robotic enemies.
After the characters have been picked, players must print out their character’s card. These character cards are used to designate players' positions on the board. Once every player rolls their dice in one turn, the categories game will be played, which randomly determines loot drops.
Each character starts with a weapon of the starting tier, and are able to upgrade it as the games goes on
PVP/Trade
If the player lands on a PVP square OR they land on square with another player, two things could occur. The player who either landed the said square will either decide to trade with an opposing player, or duel them period if they decide to trade, they may swap any items that they please, but no trade has to happen. It's up to the two parties involved. But, if the player landed on the square wants to duel, then each player will fight for whatever currency they have on them. Winner takes all.
Trade Rules
Trading in this game is pretty straightforward. If one player lands on a PVP trade tile, they pick another player and offer some of their loot or currency in exchange for the other player's loot or currency. no players obligated to trade anything, and players are able to decline the trade at any point. No one's hand is forced during this action.
Both players must give something up in the trade. One player cannot just give another player an item for free, as both players must lose and gain something in the exchange.
If a player picks someone to trade with, and they can't come to an agreement, the player who initiated the trade is able to pick another person to initiate the trade with. however, they're not able to start PvP with anyone after they've already picked the trade option
PVP Rules
This is a little more complicated than trading. For those who believe that diplomacy is a thing of the past, they’re able to duel any other player on the board. This is for all the glory, glory being all the currency of the player that loses.
The player who lands on the square gets to decide who to duel, and the player on the other end can’t refuse the duel. The player who initiates it controls the situation. Once both players are in a duel, they both roll die based on the tier of their weapons. The player with a higher total of dice rolls wins the duel and acquires all the other players currency. For example, let’s say that someone with a tier four weapon duels someone that has a tier two weapons. Sadly, the tier-two weapon wielder has no say in this matter, he’s forced into this duel. The player with the Tier 3 weapon rolls four dice, and the other player rolls two. The player who has a higher total ends up with all the currency from the interaction
That player has to move back to the start and begin the game over again. Not really the best game to be making enemies. However, the player who loses the duel gets a buff called Vengeance. This buff allows the player to double all of the currency they acquire in the game to try and keep them competitive
The Market and Black Market are two places that players can spend their currency in order to buy new weapons or upgrade the ones that they currently have. both markets give the players options to upgrade their weapons for 20 coins. However, the black market is only 10 coins, so there is an incentive to try to go to the shortcuts.
Most loot in the game will come from market purchasing, and the most common way to get currency in this game is at the end of every turn when you put your hand in front of the distance sensor and see how much currency you are allowed to add to your collection period you may use the market at any time as long as you have enough currency to purchase the item. there is still a chance that you can get loot directly from your end of turn roll, but it's rare. The only way you can lose the loot you obtain is if you die or you duel another player and lose
This is done through the Clion program given above
This is the main task we have in this game, and it’s super fun. Basically whichever player activates it will pick a topic from the deck of cards, and then they start by saying an object in that category. The person next to them, rotating clockwise, has to say a different item in that category as fast as possible. If there's any hesitation, that person loses half of their currency or half of their progress on the board, it's up to them.
This is done through the Clion program given above
When every player has reached the end of their lane of the board, they can signal the beginning of the boss battle. By flipping the switch, the boss battle becomes active. THIS ACTION MUST NOT BE UNDONE. During the boss battle, it is important to communicate with your team. By pushing the buttons on the Arduino (Blue for basic weapon, Red for rare weapon, Gold for legendary weapon), the boss counter is increased. Once the boss counter hits 15, Hazzard is defeated.