Nothing Found :(
GTT : Compiling the Arrays Blog
20th October 2024
I got around to testing arrays properly, yesterday.

-=-=-

The system now has a simple rot13 based encryption on everything going into the arrays, so even the Banned Word list should at the very least be vaguely well tweaked.
If I'm honest, though, that's really not enough, but everything is wrapped into a txt=Rot13(txt) function, so I can easily add more complexity to that function, and sanity oughta be well preserved.

Meanwhile, I'm throwing some of the phrases into a new Phrases[] array. This is where the file size expands!! I'm currently up to 153kb for the GTTBrain.js file, and it seems to be growing exponentially with every extra day that I work on it!
Of course, 153kb isn't "too" much.
.. But Pitman Typing Tutor on the Amstrad CPC takes up ...



A teensy bit less space than that.
Oops!

No matter. The engine can at least cope with three "levels" for each string.
Level 1 : Lowercase, no punctuation
Level 2 : Capitals, no punctuation
Level 3 : Capitals and punctuation.
Those levels will be unlocked as Advent continues, so I can reuse the same strings, but they'll feel slightly different depending on which mode you're playing on. Should help keep down those filesizes a bit



Aye, it's all shaping up rather well.
I still need to flick through all these giant arrays, though, to be sure they make sense and aren't offensive in any way.
.. And those lists are growing!

A.I. Corner



> Reveal 🔎
: Download | Suno Link

Alternative version
: Download | Suno Link
Sung by Suno


"Cartoon Derek sitting in a 1950s diner eating an ice cream sundae with a cherry on top" by Replicate/Flux

I mean.. Ok.. I DID say "with a cherry on top", but..

> Reveal 🔎
Views 10, Upvotes 0  
Daily Blog , Gtt , Advent
Site credits : PHP script, Blog posts, Games, Music, Pixelart, Poems and More : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 45

Blog - GTT : Compiling the Arrays - AGameAWeek