Skip to content

Application for she.code that creates a random file tree and helps learners to use the cd bash command

Notifications You must be signed in to change notification settings

shecodes-students/cdChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdChallenge

Application for She.code that create a random file tree and help learners to use the cd bash commands.

User story

As a student of she.code, I want to learn how to use cd to navigate a directory tree through a funny and interesting game.

Task breakdown

  • setting up a project strucutre

  • list of nice, but randomish names

  • create a nice random tree

    • make sure it is not too deep
    • make sure it is not too wide
    • make sure it is not too shallow
  • set a random start and targat position within the tree

  • display instructions, explain challenge

  • display tree

    • display a current working directory indicator
    • display the target position
  • command line editor

    • research: is there something we can use?
      • look at how node is doing it
    • cursor movement
      • left, right arrow keys
      • ctrl-e and ctrl-a
      • backspace
    • tab-key for auto complete
    • history
      • arrow up
      • reverse history search
    • prompt
      • display current path
  • score system

    • figure out the least number of keystrokes required to get from start to target position (brute force approach?)
  • a hint system

About

Application for she.code that creates a random file tree and helps learners to use the cd bash command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •