ผลต่างระหว่างรุ่นของ "01219245/javascript1/tutorial3"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
(หน้าที่ถูกสร้างด้วย 'In this tutorial we will learn about objects in JavaScript. We will also develop a [https://en.wikipedia.org/wiki/Nim Nim game]. Ther...')
 
แถว 1: แถว 1:
In this tutorial we will learn about objects in JavaScript.  We will also develop a [https://en.wikipedia.org/wiki/Nim Nim game].
+
In this tutorial we will learn about objects in JavaScript.  We will also develop a [https://en.wikipedia.org/wiki/Nim Nim game]. There are many versions of the game, we will try the version that is usually called the 21 game.
 
 
There are many versions of the game, we will try the version that is usually called the 21 game.
 
  
 
In this game, there are 21 rocks.  There are two players: you and the computer.  Each player takes turn to take out the rocks.  The player can choose between 1 - 3 rocks.  The player that picks the last rock wins.
 
In this game, there are 21 rocks.  There are two players: you and the computer.  Each player takes turn to take out the rocks.  The player can choose between 1 - 3 rocks.  The player that picks the last rock wins.
  
 
: You can try it at [http://hwwmath.looiwenli.com/21].  (They use sticks instead of rocks.)
 
: You can try it at [http://hwwmath.looiwenli.com/21].  (They use sticks instead of rocks.)

รุ่นแก้ไขเมื่อ 16:49, 26 มกราคม 2557

In this tutorial we will learn about objects in JavaScript. We will also develop a Nim game. There are many versions of the game, we will try the version that is usually called the 21 game.

In this game, there are 21 rocks. There are two players: you and the computer. Each player takes turn to take out the rocks. The player can choose between 1 - 3 rocks. The player that picks the last rock wins.

You can try it at [1]. (They use sticks instead of rocks.)