Skip to content

使用c++编写的3×3×3魔方类以及基于windows终端的一个demo

Notifications You must be signed in to change notification settings

666xz666/333-Rubiks-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made by xz (github name: 666xz666)

Command List

  • commandlist: Show command list
  • clear: Clear command line
  • move {formula}: Turn the cube according to the formula given
    • eg: move B2 U2 L2 D2 B' R2 B' U2 L2 F2 L2 R B' F D2 U' F' D L F2
  • scramble: Scramble the cube
  • reset: Reset the cube
  • generate {function}: Generate a formula on request
    • generate scramble: Randomly generate scramble formula
    • generate reverseformula {formula}: Invert the formula given
      • eg: generate reverseformula B2 U2 L2 D2 B' R2 B' U2 L2 F2 L2 R B' F D2 U' F' D L F2
  • restoreby {function}: Restore by a certain function
    • restoreby reverse: Restore in reverse order
  • step back: Revoke last step
  • step forward: Restore the recently revoked step
  • exit: Exit the program

image

image

Click to star

About

使用c++编写的3×3×3魔方类以及基于windows终端的一个demo

Resources

Stars

Watchers

Forks

Packages

No packages published