NeonType banner

NeonType

29 devlogs
43h 45m 16s

I spent 100 hours on my last project and it failed(got a 6.6 multiplier). So I built this in 20 hours to heal my soul. I figured out, My last project was too serious. It burned me out. I wanted to remember why I love coding. So I made this beautif…

I spent 100 hours on my last project and it failed(got a 6.6 multiplier). So I built this in 20 hours to heal my soul. I figured out, My last project was too serious. It burned me out. I wanted to remember why I love coding. So I made this beautiful thing. This is a game where you have to type the words that fall from the top of the screen. The faster you type, the more points you get. If you make a mistake, you lose health. If your health reaches zero, it’s game over. You can also build up a combo meter by typing consecutive words correctly, which can give you bonuses and powerups. The game is set in a cyberpunk world where you are a hacker trying to survive in a dystopian city. The paragraphs are randomly selected from a pool of sentences that fit the theme of the game.. The goal is to survive as long as possible and achieve a high score by typing accurately and quickly.

This project uses AI

UI is Massively created with the help of AI. No AI element in everything else

Demo Repository

Loading README...

Abdulgafar Abdurrasheed

Changelog

Works Now i guess. The only problems are:

  • The graph has too much space at the bottom. The graph should almost be touching the X-axes
  • The Graph Line is too thin, and points are too sharp. Should be fatter and wavy
  • It should also have it’s own page. The end screen can’t render all those components
  • Still has bugs to be fixed.
Attachment
0
Abdulgafar Abdurrasheed

Changelog

Got the Graph working, But it’s Buggy, and doesn’t work well. This is not entirely accurate, the fall point be the point that has the hoverable interactive red dot. I’m currently tracking based on the time it checks for accuracy, and that explains the inaccuracy, cause it might not get data the exact second the accuracy goes down. Now i think a better approach would be to plot the graph as “Characters” against accuracy as opposed to time against accuracy. Such that it tracks every correct character, and once there is a wrong character, it calculates the accuracy(Not get now, it calculates it itself based on how we already calculate accuracy), and plots it. Also, axes labels should be included i guess

Attachment
Attachment
0
Abdulgafar Abdurrasheed

Changelog

There were multiple errors in the ghost tracker/racer logic, and it was a headache to fix(a fun headace) First issue was when the ghost reaches the next paragraph before me, it literally disappeares. I think it might’ve been teleporting to its own different paragraph lol. Anyways, i found out that the problem was from the Ghost not knowing where to render after a paragraph finishes so it just crashes. My fix was to use a 2d, instead of 1d, which saves both the paragraph index, and Character index. That spectacularly failed tho, as Since the ghost saves paragraph information of the PB run too, when you have paragraphs of different lengths, it only counts the indexes of it’s own paragraph(wether first or second or whatever), and then moves on to the second paragraph. For example, say in the PB run, my first paragraph was 6 characters second was 13, and 4th was 7 and in this one, my first is 10, second 2, third 6. here is waht the ghost does. on the first paragraph of the current session, instead of coounting 10, it counts 6, moves on to the next paragraph, and the radar goes “Ghost is one paragraph ahead” Then when i get to the second paragraph which is just 2, compared to the 13 of the PB run, i get there, finish my own 2(probably see the ghos if it was slow to type those 2 characters before i caught up), and then i am 1 paragraph ahead, with the ghost still counting 13, cause that is the data it has. I don’t know if you understand me. Lastly, the fix was just saving every all keystrokes, and rendering it at the time it came. Don’t let me Bore y’all with details.

0
Abdulgafar Abdurrasheed

Changelog

Implemented a Ghost racer/tracker Feature that tracks your current position/index at every millisecond, and saves it if you finish higher than your Personal best run(i.e. It tracks your position every millisecond for your personal best run). Then, in your current session, you have a ghost like stuff, based on your Best ever run, chasing you down. It is currently buggy tho, still fixing t, but had to devlog the progress.

0
Abdulgafar Abdurrasheed

Shipped this project!

Hours: 17.52
Cookies: 🍪 389
Multiplier: 22.2 cookies/hr

Well, it’s an update to the Typing project. It features New features like Keyboard heatmap generation, Multiple themes, and difficulties, a global leaderboard, sharable Card, e.t.c. It’s a packed update. V-2 done and dusted.

Some of the mathematics were really challenging to figure out, but I got the job done at the end of the day. I’m really glad at how this turned out.

Abdulgafar Abdurrasheed

Changelog

T’was a Long productive day. Got many things working, i’m glad. Added a WPM bar, and made the wpm bar now has labels that follow you as you beat your last score, personal best, and global best.

0
Abdulgafar Abdurrasheed

Changelog

A former voter complained about the confetti being too much, and and others liked it, so I added a toggle button, that saves your preference to local storage.

0
Abdulgafar Abdurrasheed

Changelog

Basically spending time researching the various themes, and populating the paragraphs. this is going to take quite a bit of time imo.
PS: the underwater easy paragraphs is just sebastian the crab’s “Under the sea” from Disney’s “the little mermaid” 😅. I guess that’s not what it’s meant to be tho. i’ll create a separate “Disney” theme later

0
Abdulgafar Abdurrasheed

Changelog

Yeah…. The leaderboard is finally complete, and Boy was that Harder than expected. Spent 1 hour(untracked BTW) debugging why my netlify deploy with github repo wasn’t working, and finally saw that it was a Casing issue. Anyways, it works now, and i’m glad i’ve gotten that over with.

0
Abdulgafar Abdurrasheed

Changelog


Started work for the addition of a LeaderBoard. Want to do this without signup/Auth, so the ides is: Each local storage is assigned a unique ID, that ID is stored in a database, along with the relevant stats, and anytime a person goes to the website, the stats saved in that localstorage’s ID will be loaded. I didn’t know how feasible it was, so i asked on Stack Overflow, and i goot really good, and helpfull answers. Was going to use vercel KV, but i guess redis upstash was better for me, since i don’t Host on Vercel

0
Abdulgafar Abdurrasheed

Changelog

Theming Now complete. Every theme has Custom UI, and Paragraphs. Currently, it’s just background color, and particle changes.
I will add Sound changes, and probably an animated/video background too, but later.
I haven’t written the paragraphs. would probably take hours(I’m not just going to copy and paste paragraphs. That’s bad for hour farming 😅)

0
Abdulgafar Abdurrasheed

Changelog

Basically started the addition of custom CSS, and paragraphs per theme. currently supports 4 themes:

  • Cyberpunk (The OG)
  • Underwater
  • Retro
  • Fantasy

Haven’t wired the changes to the UI yet. Would do that by the next devlog i guess

0
Abdulgafar Abdurrasheed

Changelog

Basically added difficulty modes easy, medium, and hard. Medium introduces spaces and Case differences(upper/lower case). Hard introduces special characters, and Randomness.

2

Comments

YourLocalSatyrFlip

OREDA MONKEY.D.LUFFY!!

Abdulgafar Abdurrasheed

KAIZOKU NI OREWA NARU

Abdulgafar Abdurrasheed

Shipped this project!

Hours: 17.04
Cookies: 🍪 405
Multiplier: 23.78 cookies/hr

Finally!!. Neon Type v-1 is underway. Had a lot of fun creating this, and the cyberpunk themed paragraphs are really interesting.
V-2 will include:
local storage save data for stats personal bests
Being able to choose between easy, medium, and hard modes
Multiple paragraphs themes you can choose from,
and much more. See you guys there 🔥🔥🔥

Abdulgafar Abdurrasheed

Changelog

3

Comments

Abdulgafar Abdurrasheed

Looking good 🙃

FarciarzYT
FarciarzYT 23 days ago

Really cool

Abdulgafar Abdurrasheed

Thank You !!!

Abdulgafar Abdurrasheed

Changelog

Attachment
Attachment
0
Abdulgafar Abdurrasheed
  • Initialised the project, Creating Base Styles, and planning.
  • Created complete folder structure (components, hooks, data)
  • Defined GameState interface
  • Tuned 7 game balance constants
  • Wrote some of the cyberpunk-themed paragraphs
  • Pre-split all paragraphs into word arrays
Attachment
0