social.solarpunk.au

social.solarpunk.au

Oats For My Goats | @oats@social.solarpunk.au

a rogue-like game about collecting oats... and inter-dimensional teleportation!

player initial random positioning completed!

https://git.sr.ht/~vidak/oats-for-my-goats/commit/5fc8143a5c864d0453fc9baaae0c701f69badfb8

9 REM SET UP PLAYFIELD BORDER
10 DIM A(10,20)
20 FOR B = 1 TO 10
30     FOR C = 1 TO 20 
40         LET A(B,C) = 0 REM Make every playfield space blank.
50         IF B = 1 THEN A(B,C) = 1 REM Top border is all fences.
60         IF B = 10 THEN A(B,C) = 1 REM Bottom border is all fences.
70         IF C = 1 THEN A(B,C) = 1 REM Left border, all fences.
80         IF C = 20 THEN A(B,C) = 1 REM Right border, all fences.
90     NEXT C 
100 NEXT B
    
499 REM GENERATE PLAYER POSITION
500 B = INT(RND(8)+2)
510 C = INT(RND(18)+2)
520 A(B,C) = 3

999 REM PRINT MAZE PATTERN
1000 FOR B = 1 TO 10 
1010     FOR C = 1 TO 20 
1020         IF A(B,C) = 0 PRINT ".";
1030         IF A(B,C) = 1 PRINT "X";
1040         IF A(B,C) = 2 PRINT "+";
1050         IF A(B,C) = 3 PRINT "@"; 
1060     NEXT C 
1070     PRINT
1080 NEXT B 

having some joy!
a tiny BASIC interpreter prompt. at the bottom is generated a playfield.

working on the project this morning.
two emacs buffers of BASIC code.

Maybe a game where you must collect oats within the grid in the fewest moves possible? And then it has a scoreboard?

Some way to attack the robots in CHASE-- maybe easy within a one char radius?

i was watching a nature documentary with my girlfriend, and it gave me an idea for a mini game--

the segment of the doco was on these goats with enormous horns; and true to form they battled each other with those horns.

the concept for the mini game is simple enough, you have to mash two keys on the keyboard to "build up power" for your next round of horn-locking...

or maybe it could be like a meter that swings, and you have to press your button on the 'sweet spot' of the target on the meter?

I was thinking perhaps I would change Oats For My Goats into something more similar to the fedi bots that post lil unicode gardens or desert landscapes.

I cannot seem to decide how any game mechanics would work in a roguelike version.

please follow @oats for updates (:

replaced the robot chasing code with randomly generated movement.
two emacs buffers. oats.bas on the left, chase.bas on the right.

starting to lay down a little bit of code!
two buffers in emacs. one of the game chase.bas, and one of the first draft of oats.bas

ยป