2048: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added notations to better show the user's inputs.)
Line 6,107: Line 6,107:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
right ◄■■■■■■■■■■■■■ user input
right


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,120: Line 6,120:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
up ◄■■■■■■■■■■■■■ user input
up


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,133: Line 6,133:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
◄■■■■■■■■■■■■■ user input (a blank)

──────────────────────────────────────── moves: 2 ──────── score: 4
──────────────────────────────────────── moves: 2 ──────── score: 4


Line 6,147: Line 6,147:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
left ◄■■■■■■■■■■■■■ user input
left


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,160: Line 6,160:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
l ◄■■■■■■■■■■■■■ user input
l


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,173: Line 6,173:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
dow ◄■■■■■■■■■■■■■ user input
dow


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,186: Line 6,186:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
left ◄■■■■■■■■■■■■■ user input
left


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,199: Line 6,199:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
lef ◄■■■■■■■■■■■■■ user input
lef


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,212: Line 6,212:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
d ◄■■■■■■■■■■■■■ user input
d


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,225: Line 6,225:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
d ◄■■■■■■■■■■■■■ user input
d


╔══════╦══════╦══════╦══════╗
╔══════╦══════╦══════╦══════╗
Line 6,238: Line 6,238:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
◄■■■■■■■■■■■■■ user input (a blank)

──────────────────────────────────────── moves: 9 ──────── score: 32
──────────────────────────────────────── moves: 9 ──────── score: 32


Line 6,252: Line 6,252:


──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
──────── Please enter a direction (Up, Down, Right, Left) ───or─── Quit:
q ◄■■■■■■■■■■■■■ user input
q


──────── quitting the game.
──────── quitting the game
</pre>
</pre>