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

Timeguessr

  • 5 Devlogs
  • 4 Total hours

A simple guessing game where you try to guess what happened first

Ship #1 Pending review

My project is a simple guessing game where you choose which of the two world events happened first in time. There are 200 events from 1976 to 2026, and the game keeps track of your score and percentage. The most challenging part was getting the JavaScript to randomly choose events (and to not choose the same two). I’m proud that I managed to make the whole game work from scratch and only used ai for research only. Have fun playing! :)

  • 5 devlogs
  • 4h
Try project → See source code →
Open comments for this post

37m 23s logged

Devlog 5 — Final Styling and README

I finished the project by working on the style.css and making the website look cleaner. I added more styling to the buttons, headings, layout and overall page. I also created a README.md file explaining what the project is, how to use it and what technologies I used. The main game is now finished and everything works! Have fun playing! :)

0
0
2
Open comments for this post

24m 47s logged

Devlog 4 — Scoring and Fixes

I added the scoring system and some headers to make the website clearer. I also went through the events and fixed some that had dates in their titles (so it would be very easy to guess them). The score now updates properly after each guess, showing the number of correct answers and the percentage. Now I will work on style.css

0
0
2
Open comments for this post

38m 55s logged

Devlog 3 — Making the Game Work

Today I made the game actually playable.

You can now click one of the two events to guess which one happened first. The game checks the dates and tells you if your answer was correct. I also added a Next button, so after making a guess you can move on to the next question instead of having to refresh the page. It appears after you guessed, then disappears when pressed.

Up next: Add the score that updates after each guess, showing how many you got right out of the total and your percentage.

0
0
3
Open comments for this post

28m 46s logged

Devlog 2 — Making the options

I started building the actual webpage using HTML. I added two buttons where the random events will appear. I added the list of 200 events and made the game randomly choose two of them. I made sure that it doesn’t choose the exact same event twice. I also added two images (one for each option) which are randomly generated.

I’m keeping the HTML quite basic because there isn’t really a need for anything complicated in this project.

0
0
3
Open comments for this post

1h 34m 37s logged

Devlog 1 — JSON

Today I started planning my website project. Funny, because I started working on something else, but I got this idea and throw that project away to start working on this: I decided to make a game where the player gets two random world events and has to guess which one happened first.

I made 200 events in total (json), ranging from 1976 to 2026. Each event has a name and a year, and an image query.

I want to keep the website really simple, so there won’t be a menu or loads of different pages. It will basically just have the two event buttons, two images, the result, and the score. I’m using HTML for the structure, CSS for the design and Javascript for the game.

0
0
24

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…