AI

Tre nye spel på sida

Vis artikkel på:

Sidan september har eg lagt ut tre spel under AI-delen av sida. Alle tre er laga i samarbeid med AI, der eg har vore med i heile prosessen medan AI-en har skrive koden. Spela køyrer rett i nettlesaren utan installasjon eller konto. Eitt er for vaksne som hugsar DOS-tida, medan dei to andre er læringsspel på nynorsk for born, der oppgåvene i skulefaga er det som driv spelet framover.

TANKWARS

TANKWARS er ein moderne versjon av Tank Wars, DOS-spelet frå 1991 der stridsvogner skyt på kvarandre over eit fjell med vinkel, kraft og vind som einaste verktøy. Terrenget kan øydeleggjast, det finst femten våpen, og opptil fire spelarar kan spele hotseat på same tastatur. Classic-modusen er reglane frå 1991 med ny grafikk, medan Modern og Advanced legg til ulike stridsvogner, fleire våpen og drivstoff til å køyre langs fjellryggen.

Ein runde i TANKWARS med to stridsvogner i eit ørkenlandskap
Ein runde i Modern-modus. Vinkel og kraft står øvst til venstre, vinden øvst til høgre.

I tillegg er det ein sanntidsarena der alle skyt samstundes, og ein kampanje med tolv oppdrag fordelt på fem biom, med tre bossar som må takast ned del for del. Før kvar kamp vel spelarane ein figur, og kvar figur har si eiga stridsvogn med ulik rustning, fart og våpen.

Figurvalet i TANKWARS med seks figurar
Figurvalet før kampen. Kvar figur har si eiga stridsvogn.

Kjeldekoden ligg ope på GitHub for den som vil sjå korleis det heng saman.

Mi magiske verd

Mi magiske verd er eit livs- og samlespel på nynorsk for born på 10–11 år, og det er fortsatt i beta. Barnet lagar sin eigen figur, innreier rommet og hjelper folka i Stjernedalen gjennom brev og småjobbar, og myntane til alt dette tener ein ved å løyse oppgåver i rettskriving, grammatikk og matte.

Rommet i Mi magiske verd med figuren og menyen nedst
Rommet før det er innreidd. Menyen nedst fører til postkassa, butikkane og stallen.

Myntane blir brukte i butikkane med ekte valørar og vekslepengar, så matta kjem att også når ein handlar. Etter kvart opnar stallen, med hestar å stelle, føl som veks opp og ei forteljing i 20 kapittel.

Ei prosentoppgåve i Mi magiske verd
Eit brev frå Bella i butikken blir til ei oppgåve i prosentrekning.

Første gong spelet startar, vel ein vaksen ein PIN-kode som låser foreldremodusen. Der vel ein tema og nivå, legg inn vekas ord og ser kva barnet meistrar og slit med. Alt blir lagra i nettlesaren på eininga, og ingenting blir sendt nokon stad.

Draumelaget

Draumelaget er eit fotball-, samle- og læringsspel på nynorsk for born på 5–8 år, med mange av dei same byggjesteinane som Mi magiske verd: brev, myntar og foreldremodus med PIN. Brev frå folka i Ballvik gjev oppgåver i lesing, matte og naturfag, og myntane går til kortpakkar med tre fotballkort i kvar.

Rommet i Draumelaget med ein gut i fotballdrakt og menyar på begge sider
Rommet er utgangspunktet. Klubbposten, kiosken og ballbingen ligg til venstre, medan kortalbumet og framgangen ligg til høgre.

Med korta set ein opp laget til kampdag, tek straffekonk mot Rulle og samlar på Gullkorta, medan den yngste får alt lese høgt og dei eldste får engelskdagar innimellom.

Ein uopna kortpakke i gult og blått på grøn bakgrunn
Startpakken. Kvar pakke har tre fotballkort til laget og albumet.

Alle tre ligg under AI på sida og fungerer best i liggjande format på nettbrett. TANKWARS speler ein helst med tastatur, Mi magiske verd er open for alle som vil prøve betaen, og Draumelaget ligg bak eit passord.

Since September I have put three games on the AI section of the site. All three were made in collaboration with AI, with me involved throughout the process while the AI wrote the code. The games run straight in the browser with no install and no account. One is for adults who remember the DOS years, while the other two are learning games in Nynorsk for children, where school tasks are what move the game forward.

TANKWARS

TANKWARS is a modern take on Tank Wars, the 1991 DOS game where tanks shell each other across a mountain with nothing but angle, power and wind to work with. The terrain can be blown apart, there are fifteen weapons, and up to four players can play hotseat on the same keyboard. Classic mode keeps the 1991 rules with new art, while Modern and Advanced add different tank hulls, more weapons and fuel for driving along the ridge.

A round of TANKWARS with two tanks in a desert
A round in Modern mode, with angle and power at the top left and the wind at the top right.

There is also a real-time arena where everyone fires at once, and a campaign of twelve missions across five biomes, with three bosses that have to be taken apart piece by piece. Before each battle the players pick a character, and each character comes with its own tank with different armour, speed and weapons.

The TANKWARS character select screen with six characters
Character select before the battle, where each character brings its own tank.

The source code is public on GitHub for anyone curious about how it fits together.

Mi magiske verd

Mi magiske verd ("My magical world") is a life-and-collecting game in Nynorsk for children aged 10–11, and it is still in beta. The child creates a character, furnishes a room and helps the people of Stjernedalen through letters and small jobs, and the coins for all of it are earned by solving spelling, grammar and maths tasks.

The room in Mi magiske verd with the character and the menu at the bottom
The room before it is furnished, with the menu at the bottom leading to the mailbox, the shops and the stable.

The coins are spent in the shops with real denominations and change, so the maths comes back when shopping too. Later on the stable opens, with horses to look after, foals that grow up and a story told over 20 chapters.

A percentage task in Mi magiske verd
A letter from Bella at the shop turns into a percentage problem.

The first time the game starts, an adult picks a PIN that locks parent mode, where you choose topics and levels, add the week's spelling words and see what the child has mastered and where it struggles. Everything is saved in the browser on the device, and nothing is sent anywhere.

Draumelaget

Draumelaget ("The dream team") is a football, collecting and learning game in Nynorsk for children aged 5–8. Letters from the people of Ballvik bring tasks in reading, maths and science, and the coins buy card packs with three football cards in each.

The room in Draumelaget with a boy in a football kit and menus on both sides
The room is home base, with the club mail, the kiosk and the pitch on the left and the card album and progress on the right.

With the cards you pick the team for match day, take penalties against Rulle and collect the gold cards, while the youngest gets everything read aloud and the older ones get the odd English day.

An unopened yellow and blue card pack on a green background
The starter pack, with three football cards for the team and the album.

All three live under AI on the site and work best in landscape on a tablet. TANKWARS is best played with a keyboard, Mi magiske verd is open to anyone who wants to try the beta, and Draumelaget sits behind a password.

Attende til alle artiklar