Skip to content

A level picker I made for my son to pick random levels in super mario galaxy 2

Notifications You must be signed in to change notification settings

dhughes/superMarioGalaxy2LevelPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a half-hour lesson in coding with my son. He does video game livestreaming and made a tool in Scratch that would pick a random Super Mario Galaxy level for him to play. After exploring his approach together, I showed him how it might be done in Java.

In a nutshell, this works by using the Scanner class to read a file from disk. The file is organized as a hierarchy of Galaxies, Stars, and Worlds. The file is read, parsed into objects and then a random level is picked.

About

A level picker I made for my son to pick random levels in super mario galaxy 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages