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

Binary Bound

  • 13 Devlogs
  • 48 Total hours

I am building a web-game with full backend integration and trust me there is way more than that which I worked on , please consider reading the devlogs =) . Have a nice day.

Ship #2 ✨ Blessed

Shipping the Updated version

Game link: https://sudip-project-06.wuaze.com/

Hello everyone,
Welcome

First of all, thank you so much for all the feedbacks. I worked on the previous feedback and I have updated the game.

One of the biggest issues people found was that the anyone could easily cheat .[Consider reading devlog #10 for more =) ]

Previously, anyone could open the browser console and see the random number directly. They could also execute the `saveScore` function with fake values, like completing the game in one try on Impossible difficulty, and the server would simply trust that data and add it to the leaderboard. ( ̄▽ ̄;)

To avoid this, I implemented some changes.

Previously, the random number was generated and verified in the frontend using JavaScript.

Now, all of that logic has been moved to PHP.

The random number is generated on the server, checked on the server, and only whether the entered number is correct or not is sent back to the browser.

This means that even if someone tries to call the `saveScore` or `setScore` function manually from the browser console without actually winning, the server will simply reject it. ( •̀ ω •́ )✧

I also received some feedback about the sound effects.

Some people said the error sound was a little too sudden, and honestly, looking at it from their perspective, they're right.

So I made a few changes regarding that as well.

- By default, the Disable Sound option is now enabled.
- Anyone can turn the sounds back on anytime.
- The preference is saved in Local Storage, so you won't have to change it every time =)
- I also applied the Disable Sound option to the win sound as well as per the feedback.

For now, I'll consider this project shipped, but I still plan to add more features and improvements in the future based on your feedback.

Thank you so much for being part of this journey.

And yeah, I would still love any feedback you want to share. (ᵔᴗᵔ)

Thank you so much. <(_ _)>

Have a nice day! =)

  • 3 devlogs
  • 12h
  • 13.82x multiplier
  • 198 Stardust
Try project → See source code →
Open comments for this post

2h 29m 30s logged

Devlog #11

Game link : https://sudip-project-06.wuaze.com/
Hello everyone,

Welcome to Devlog #11 of Binary Bound.

Thank you so much for all the feedbacks. I’m still reading them and trying to improve the game based on them. <(_ _)>

One of the major things I worked on was securing the save score functionality.

Previously, anyone could just open the browser console and just call the saveScore function with fake values, like one try on level impossible, and the server would just believe it and share it to the leaderboard.

To fix this, I moved all that trust to the server side instead of the browser side sending the score data.

The server now tracks everything itself using PHP sessions during the game.

So when the game ends and submits a score, PHP just reads from its own memory instead of listening to the browser.

And if someone still tries to use the setScore function from the browser console without actually winning, then the server will just reject it. ( •̀ ω •́ )✧

I also got some feedback that some people did not like hearing the sound effects, as it was jumpscare, and watching from that persepective they are correct.

So I made a few changes regarding that as well.

• By default, the Disable Sound option is on.
• Anyone can turn the sounds back on anytime.
• Their preference is saved in Local Storage.
• I also applied the Disable Sound option to the win sound as well.

Thank you so much.

And yeah, I would still love any feedback you want to share. (ᵔᴗᵔ). I will ship this project for now but will still add more features on it.

Thank you so much. <(_ _)>
Have a nice day =)

0
0
267
Open comments for this post

6h 27m 24s logged

Devlog #10

Game link : https://sudip-project-06.wuaze.com/

Hello everyone,

Welcome to Devlog #10 of Binary Bound.

Yeah, it’s the first devlog after the ship.

First, I would like to thank everyone for the feedbacks and your love and support. I’m really glad, and I feel really blessed for all the feedbacks, comments, likes—everything. Thank you so much. (╥﹏╥)♡

And yeah, like I told before, I’m working on your feedbacks.

I actually have not completed all the improvements that the feedback asked me to, but I’m still working on it.

First, I fixed what I guess was the main issue.

Anyone could console.log… theSUSimposter (Those who know, they know.) (¬‿¬)
(Actually it was the variable where the random number was created and stored)

They could literally see what the random number was, and some of them also used the function I made to save the score by executing it directly from the browser console.( ̄▽ ̄;)

To avoid this, I implemented some changes.

Previously, the random number was generated and verified in the frontend JavaScript.

Now, I have moved that logic to PHP.

The random number is now generated on the server, checked there, and only the result of whether the entered number is correct or not is returned.

I’m currently working on securing the save score functionality as well.

Once I finish it, I’ll upload the update and let you all know.
Also one more thing , i accidently deleted the old database , i am so sorry , but i had one backup but not all of them are here, i apologize (╥﹏╥).

Thank you so much.

And yeah, I would still love any feedback you want to share.

Thank you so much. <(_ _)>
Have a nice day…

0
0
171
Open comments for this post

2h 57m 29s logged

Hello everone , Thank you so much for all the love and support last time, Now I have collected all the feedbacks and now currently am working on them, Thank
you so much for reading , Have a nice day =)

0
0
401
Ship #1

**Hello Everyone** , Welcome !
For this time I have made a Game Binary Bound . The concept is simple , the JS generate a random number and you are supposed to guess it in least number of tries possible , but there is more than that . I tried to make the game more interesting and fun . I will explain it properly in the features section below =)

**Features**

**Levels **: There are total of 6 levels where you guess the number between

Level 1 : 1 - 10

Level 2 : 1 - 100

Level 3 : 1 - 1000

Level 4 : 1 - 10000

Level 5 : 1 - 100000

Level Impossible : 1 - 1000000

**HINT (for non-hardcore mode)** :
There is also a hint below the input box where you will be given hint , which will tell you the next number you are supposed to guess is higher or lower the current one you just guessed. Let me leave no confusion .
Assume you are playing Level 2 (its also selected by default =) )
You chose 50 , and the hint says something like "Hint : Nah buddy, try Guessing Lower" then you can totally eliminate Numbers below 50 and chose any lower and the process reapeats .
hopefully it was clear .

**The HARDCORE Mode** :
What if there was no hint 😗 .
How would you guess the your next number ?
Yep thats Hardcore mode , but I know it would be abit tooooooo dificult if we imagine it with level 3 or 4 or even higer . Thats why i have also added the GIF system (HARDCORE lifesaver).

**The secret HINT**:
GIFs are fun ! So to make the game more interesting I have also used the GIFs but its role is actually more than that .For the Hardcore mode player It could sometime act as a Secret Hint . Its expalined in the Devlog #6 but lemme expain to you in short anyway.
There are total of 18 GIFs which will be displayed randomly in the game . Among which 3 are hints which hints you to guess lower and another 3 are hints which hints you to guess higher .
Which means there is 33.33% chance that the GIFs = Hint =)
It is applied to all Level and modes . I hope it was clear =) .
[It is also explained in detail in Devlog #6]

**The Leaderboard** :
I have integrated a leaderboard system where all the players will be listed who has guessed the number at least once . Also I would like to explain you the ranking system .
The common rule is the one who gusses in the least number of tries ranks higher(at the top).
But here is a catch , In case if there are two players with same number of try and they achieved the position same number of time then they will share the same rank . Lemme give you an example :

Assume two players (Player A and Player B)

Player A guessed the number in 2 tries ( one time )
Player B also guessed the number in 2 tries (two times)

Then in that case Player B will be ranked above player A .

**The SFXs** :
There is sound effect (different for each , correct guess and incorrect guess (meme sound btw😅) . Its just for fun , but you can mute that option by clicking on the Error sound btn (and your preference will also be saved in localStorage =) )

Now lemme tell you some more about my project .
I first time saw this design (theme) in the instagram and tried to replicate in , and I found what colors they exactly use from this site : https://neumorphism.io/#e0e0e0
I will be transparent and declare the use of AI : I used AI (Gemini and ChatGPT) . ChatGPT while making the shake error nad Gemini especially for Debuging the backend and while making the leaderboard system .

I assume thats it for this project . Its my biggest project I have worked on so far .

**Thank you so much for reading .**
If something was unclear please comment , i will reply =)
**Have a nice day =)**

  • 10 devlogs
  • 36h
  • 17.21x multiplier
  • 613 Stardust
Try project → See source code →
Open comments for this post

2h 9m 20s logged

**Hello Everyone! **
I know I said that the las one would be my final devlog.. but here I am again . Welcome to **Devlog #9. **

I know I said that the las one would be my final devlog.. but here I am again . Welcome to Devlog #9.
According to the timer or the time spent on the project might be displaying around 2 hours , but behind it there is a whole story . Lemme tell You.

After the last devlog , I tried hosting/deploying the project on the internet and as I was doing that , I ran into 500 Internal Server Issue and I know its hard to believe but it took me 5 HOURS to only notice that the error was a single space (to be specific ,
Before fix=> header(“Content-Type: application/json”);
After fix=> header(“Content-Type : application/json”);
)
Honestly I didnt even know it could cause issue , as the previous code worked perfectly when i ran the code locally(using the vscode extension PHP Server by brapifra), It was Gemini who figured it out when I sent it the screenshot of the error and the code(after it was uploaded to the server). I literally thought it was issue with my account with which I was hosting , so I even tried creating multiple accounts and digged into Youtube and more but could find what was wrong, I feel really greatful to Gemini for this .
(The loading of GIF and sound still takes abit time when its loading for the first time,but it SHOULD be fine after that, hopefully😅).

I understood the feeling of both frustration and exitment during this journey . I cant ensure you that the project is flawless but I hope it would be fun for you .

Now I can say that , Finally the project is complete and here is the demo link :
https://sudip-project-06.wuaze.com/

Will be Shipping soon!

**Thank You SOOOOOOO Much .

Have a nice day .

0
0
119
Open comments for this post

3h 32m 41s logged

Devlog #08

Hello everyone , Welcome again .
(I will keep this one devlog abit short) . This might be probably the last devlog for this project . Finally the polishing stuff is done . I have made this site responsive (still i recomend playing this game on pc / laptop , honestly i suck at making site responsive but i did try.) , also before I used index as position thats why i had an ranking issue on the leaderboard which took me longer to find then to fix it acutally (i will keep the screenshot somewhere below.).

I plan to explain the whole game once again while shipping. Thank you everyone .

Have a nice day .

0
0
152
Open comments for this post

3h 18m 10s logged

Hello again , everyone!
Welcome to Devlog #07

Before I get into the actual update , i want to mention about the to hackatime members(Other readers can skip to next paragraph) that after i renamed some of my files name it totally created the new section on hackatime file and has sepetrated time counter for them and my time on the particular file started from 0 min again.

I completely forrgot to mention this in the previous devlogs even though I have added this feature like few days ago that there is a sound effects which will be played when user gets the answer correct and also for incorrect (all of them are meme sound effects😅) and it will be played after the user take a guess.

And the main update for this is that I have added a mute btn which will you can use to turn the error sound off , also the user preference of (off/on) will be saved in **LocalStorage **so it will remember your preference =) (as long as you are using the samebrowser) .

Hope I made things clear if not please comment and i will try to explain again ..

Also currently I am working on the responsiveness of the site ( and i suck at this fr).

Thank you for reading .
Have a nice day .

2
0
73
Open comments for this post

4h 40m 4s logged

Devlog #6
Hello again everyone , this devlog might be abit longer but I want to make sure you all understand what changes I made recently .
Welcome back to the journey of me converting a Simple Number Guessing Game(Named Binary Bound) into a full on backend integrated game where you prove the world how lucky you are (probably😐).
Lets start with whats new (will explain in detail below):

  • Functioning Leaderboard
  • Added a GIF section to make the game even more intresting.
  • A secret hint for Hardcore Mode (will explain below).

First lemme explain the Leaderboard system
Players who guess the number in fewer number of tries ranks higher .
If two or more players guess the number in the same number of attempts , the player with more total wins gets the higher rank . [Only the best records are considered for record , which means if a player guesses the number in 3 tries and later in 2 tries then only the record of 2 is stored in the database ]

lemme give you an example :

Assume there are two player , i.e Player A and Player B

Player A : Guessed the number in 3 tries (only one time).

Player B : Also Guessed the number in 3 tries but gets correct 2 times then player B will rank above Player A .

I hope I was able to make thinkgs clear , if not please comment and I will try again to explain.

Now Lets talk about The GIF system .
We all know GIFs are fun , but here (expecially for hardcore mode player , it will be more than that .)
(btw almost all of them are anime😶‍🌫️ GIFs)
I have linked total 18 GIFs and among them 6 are hints.
Lemme explain In details
I have total 3 folders storing GIFs
Folder name :

[Correct] -> It has 3 GIFs from which a random any one will be played when the user guesses the answer correct .

[Down] -> It has 3 GIFs which will be hinting downward. (Hinting guess lower)

[Up] -> It has 3 GIFs which will be hinting upward. (Hinting guess higher)

[Error] -> It has total 9 GIFs which has random GIFs , not meant to hint anything , they are just for fun.

[The GIFs will be played in all levels ranging from level 1 to level impossible]

How these GIF are helpful for hardcore player .
Since the 6 of the GIFs are helpful or hintful you may say , then there is total of (6/18) = 1/3 (33.33%) chance that the GIF might be helpful .

eg. If you are playing Level : Impossible (i.e Guessing number from 1 to 1 Million🤧) and you took your guess and spot that the GIF hints you UP or Down then you could easily eliminate 500K numbers (if you choose 500,000).

Hope I made this system clear as well .

If I didnt forget anything while writing this devlog , probalbly Thats it (I will update you if i forgot anything here . )

Maybe will polish the game more and see if could add anything new .
Till then

Thank you for reading
Bye!

Have a Nice day

0
0
216
Open comments for this post

1h 21m 23s logged

Devlog #05

Hello everyone again , A quick update again on the Binary Bound Game I was working on.
Now Finally the leaderboard system is working (yeeeeee) , but for now it stores every try made by the user😖 . So now next i will try to do is save only the highest score earned (which is least try in this case) , after i fix it , i will report soon. And also the autologin system is ready , whcih means if the user entered the unique username on the welcome page once then the user wont have to bother entering the name everytime he/she logs in (used LocalStorage for that). Thank you for reading .

Have a nice day =)

0
0
29
Open comments for this post

3h 0m 25s logged

Devlog 04

Hello everyone, Welcome again!
A quick update on Binary Bound.
I just finished working on the backend and the databases, (used php and sql btw) and finally the backend seems to be functioning but still the leaderboard is still under construction. Will be giving report soon.
Thank You

Have a nice day

0
0
34
Open comments for this post

7h 34m 39s logged

Devlog #3

Hello again everyone !
Now I have made some more changes on the game , I changed the theme to Neumorphism(I saw it on IG) and Also i have made different levels along with a hardcore mode. Lemme explain in detail about the levels
Level 1 : 1 - 10
Level 2 : 1 - 100
Level 3 : 1 - 1000
Level 4 : 1 - 10000
Level 5 : 1 - 100000
Level Impossible : 1 - 1M
I know that the higher levels are too difficult but there is always hint to help but there is a catch .

I also added a

HardCore Mode

In the hardcore Mode even the hints are not available .

Just wanted to make the game a bit hard to see what it feels like 😅

Currently I am working on the backend and Leaderboard system .

Thank You So much

Have a nice day =)

0
0
31
Open comments for this post

7h 36m 46s logged

Devlog #2: Features Added
Last time, I mostly worked on the layouts. This time, I finally got the game working!
Things took a little longer than expected because I kept accidentally breaking my own code ,
What I added:

  • Core game functionality is now working
    -Level system added
  • Sound effects
  • Screen shake animation for errors
  • Color feedback:
    Green for correct guesses
    Red for wrong guesses
    💡 Hint system
    Guess/try counter
    -Reset button
  • Started preparing customization features (still a work in progress)

Current Status:
✅ Game is playable
✅ Levels are functional
🚧 Customization is still under construction
🚧 Backend coming soon

Thanks for checking out my progress! =)

0
0
26
Open comments for this post

1h 41m 2s logged

I started working on a Guess the number game[Name : Binary Bound] . I know its a simple project but I am new in this field and i am just trying to build and learn more. This is a simple game but i would try integrating backend too and add something special to make it unique and more fun to play . Here ,
⬜ The white box is main playing area

🟦 The blue box is for customizing the game settings area.

🟩 The green box is the are for leaderboard information area.

0
0
45

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…