You are browsing as a guest. Sign up (or log in) to start making projects!

ValoGuess

  • 1 Devlogs
  • 9 Total hours

I'm building a game where you have to guess the Valorant Agent via asking questions from a preset panel or your own custom question via chat to the opponent player. It's a 1v1 game. You have guess the agent before your "no" runs out . "NO" means the questions you ask will result in either "Yes" Or "No" via the other player.

Open comments for this post

8h 37m 27s logged

Devlog 1

So I’ve been working on the socket server for this game for the past couple of days. What I’ve learned so far is that game logic is sometimes so frustrating like there can be so many edge cases you have to think about and there can be many nested if else.

So my tech stack for the socket server is:

  • Socket.io
  • IoRedis (redis hosted using docker)
  • Zod
  • and node httpServer

Ofcourse everything is written in typescript. I didn’t made separate devlogs because I forgot, sorry for that

Here’s what I did

  • I made the folder structure moduler having different modules for different logic : room, game, question
  • Shared files are in shared folder
  • Each module has its own listener, service, schema with some having util/helper file
  • I first worked on room then game then question
  • Some things are still left to do, but first I would like to make some of the frontend
0
0
2

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…