scene.org File Archive

File download

<root>­/­parties­/­2022­/­lovebyte22­/­nanogame_oldschool/c64-lovebyte-nurikabe256.zip

File size:
1 063 177 bytes (1.01M)
File date:
2022-02-16 05:32:09
Download count:
all-time: 25

Preview

  • FILE_ID.DIZ 1.40K
  • nurikabe256.mp4 3.65M
  • nurikabe256.prg 256B
  • nurikabe256.s 8.90K

file_id.diz

Author: Wil/VCC
Title: Nurikabe256
System: Commodore 64
Language used: 6502 Assembler
Length of source code: 256 Lines
Length of executable file: 256 Byte
Categorie: 256 Byte Nanogame / Lovebyte 2022

Build requirements:
cc65    https://cc65.github.io/
LAMAlib	https://github.com/demesos/LAMAlib

Build command:
cl65 nurikabe256.s -lib LAMAlib.lib -C c64-asm.cfg --start-addr $802 -o nurikabe256.prg

To start the game:
LOAD"NURIKABE256",8,1
RUN

Controls: Space to mark a water cell
          X to mark an island cell
          Cursor Keys to move

The game automatically detects when the puzzle is solved, celebrates this with a green 
border and then moves to the next puzzle (due to size constraints, only two puzzles are 
implemented)

The puzzle is played on a rectangular grid of cells, some of which contain numbers.
The unnumbered cells are initially of unknown content but can only be water or island.
Cells of the same content are considered connected if they are adjacent vertically or 
horizontally, but not diagonally.

The challenge is to paint each cell as island or water, subject to the following rules:

- Each numbered cell is an island cell, the number stating the island size in cells
- Each island must contain exactly one numbered cell.
- All water cells must be connected
- 2x2 areas of water cells are forbidden

see https://en.wikipedia.org/wiki/Nurikabe_(puzzle)