Skip to content

"Lights Out" game from "Pharo by Example - A First Application"

License

Notifications You must be signed in to change notification settings

capsulecorplab/PBE-LightsOut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightsOut

"Lights Out" game from "Pharo by Example - A First Application".

Loading instructions

Starting from a Pharo image

Open a playground window (Ctrl+O+W) and evaluate:

Metacello new baseline: 'PBELightsOut';
    repository: 'github:https://capsulecorplab/PBE-LightsOut:main/src';
    load.

Note: Evaluate by highlighting the text, then either right-click on the highlighted text and click Do it or press Ctrl+D.

Starting from the shell

Clone the repo:

git clone https://github.com/capsulecorplab/PBE-LightsOut.git
cd PBE-LightsOut

Download the 64-bit Pharo image + VM into the PBE-LightsOut directory and start the Pharo-UI:

curl get.pharo.org/64/stable+vm | bash
./pharo-ui Pharo.image

In the Pharo-UI, open a playground window (Ctrl+O+W) and evaluate:

Metacello new baseline: 'PBELightsOut';
   repository: 'gitlocal:https://./src';
   load.

Note: Evaluate by highlighting the text, then either right-click on the highlighted text and click Do it or press Ctrl+D.

Play LightsOut

Once the PBE-LightsOut package has been loaded into your Pharo image, start the game by evaluating the following:

LOGame new openInWindow.

About

"Lights Out" game from "Pharo by Example - A First Application"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published