ENTRY #2 - AHHHHHHHHHHHH


Hey all, for a while I've been looking to make a game/app/website/something as a way learn some new stuff that I don't get the opportunity to do at work. Zee came up the idea of passing around and continuing your friends' fanfics a while ago it worked out great when we tried it out one night ( with a lot of manual effort however!) Some time passed and it seemed like a neat idea for an actual game, like, a multiplayer game, on the internet! The game would take care of all the annoying manual steps and players could play this thing LIVE

Zee planned the whole thing out; the layout of the screen and the flow of the game. I jumped head first into developing this thing and started learning stuff along the way as I broke things. We both chose to just jump into this thing blind from a game design perspective and we figured stuff out as we faced problems

It was super exciting to reach a number of milestones throughout the project. Like, when we were actually able to just input names on the website, with the game just running on my computer. It was really cool to actually see this thing progress, step-by-step. At first it was just being able to select your avatar, and then submitting characters, and then shuffling the characters and selecting them, then writing a story, and then the stories would switch automatically! We could actually play through a game! (while the game was running on my computer. still not on internet. Other cool milestones were getting the website running with our domain name, and putting it 100% ️in the ☁️cloud☁!

Probably lots of weird bugs and things to fix but I hope all the important bits work!

- Michael

TECHNICAL OVERVIEW FOR ANYONE INTERESTED!

TL;DR. WEBSITE IS IN REACTJS. GAME SERVER IS IN GO. DATABASE IS POSTGRES. ALL HOSTED ON GOOGLE CLOUD PLATFORM (GCP).

GOING INTO THIS THING, THERE WERE TWO THINGS I KNOW I WANTED TO DO 100%. I WANTED TO LEARN REACTJS AND I WANTED TO DO A BIGGER PROJECT IN GO. I DID NOT WANT TO USE ANY CONVENTIONAL GAME TOOLS OR ANYTHING AS MY MAIN GOAL FOR THIS THING WAS TO LEARN MORE ABOUT HTML/JS/CSS AND REACT. SO MY APPROACH TO MAKING A GAME WAS PROBABLY A BIT UNCONVENTIONAL!

A FEW NOTES:

  • GOT STARTED WITH GCP BECAUSE I'M FAMILIAR WITH IT AND WE GET A GENEROUS CREDIT FOR SMALL PROJECTS!
  • USED FIRESTORE DATABASE ON GCP BECAUSE IT REQUIRED NO WORK TO SET UP BUT ENDED UP BEING A HEADACHE
  • SWITCHED TO POSTGRES ABOUT HALF WAY THROUGH BECAUSE IT WAS MORE 'ERGONOMIC' TO WORK WITH
  • WEBSITE TALKS TO GAME SERVER VIA WEBSOCKETS SO THAT THE SERVER CAN SEND UPDATES TO YOU AUTOMATICALLY!
  • GAME & PLAYER STATE ARE ALWAYS PERSISTED TO DATABASE SO THAT GAME SERVER CAN BE RESTARTED AND RESUMED EASILY!

I COULD GO ON AND ON ABOUT THE WEIRD CHALLENGES I FACED DURING THIS BUT I'LL LEAVE IT THERE FOR NOW

Leave a comment

Log in with itch.io to leave a comment.