Skip to content

A Swift Playground project for WWDC2019 scholarship submission.

Notifications You must be signed in to change notification settings

patcharapon-j/AlgoMaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlgoMaze

A Swift Playground project for WWDC2019 scholarship submission. It is designed to teach basic algorithm in a fun and engaging way. This submission is accepted by Apple for Scholarship.

IMAGE ALT TEXT HERE

How to Play

The objective of the game is to program the narwhale to collect all 5 keys that are scattered in a randomly generated map while avoiding traps. In order to move the narwhale player must program the narwhale in advance using a sequence of 8 commands. They only have 5 turns to complete the objective but can gain an extra turn by collecting coins.

Commands

Move

Move the narwhale one space forward.

Turn Left

Rotate the narwhale 90 degree anti-clockwise.

Turn Right

Rotate the narwhale 90 degree clockwise.

Pick Up

Pick up key or coin at current square.

Attack

Destroy a box in front of the narwhale.

About

A Swift Playground project for WWDC2019 scholarship submission.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages