Skip to content

Commit 054ddfa

Browse files
committed
Oops!
1 parent 8253cb0 commit 054ddfa

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

games/roll/game.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function sort_and_expand_dice() {
195195

196196
function collect_dice() {
197197
// collect the dice into piles (pieces,x,y,shuffle,active_image,r_piece,r_stack,offset_x,offset_y,from_top)
198-
var x=-510;
198+
var x=-10;
199199
var y=-350;
200200
var dy=100;
201201
board.collect_pieces(d20, x, y , false, 0, 0);
@@ -210,7 +210,7 @@ function collect_dice() {
210210

211211
function collect_pieces() {
212212
var dx=70;
213-
var x=-520;
213+
var x=-20;
214214
var dy=70;
215215
var y=450;
216216
var first_row = [pawns, bishops, knights, rooks, queens, kings, black_chips, blue_chips, red_chips, white_chips];
@@ -219,21 +219,21 @@ function collect_pieces() {
219219
}
220220

221221
function collect_boards() {
222-
ring1.set_target(-934, 950, 0);
223-
grid1.set_target(-934, 950, 0);
224-
ruler.set_target(-493, 950, 90);
222+
ring1.set_target(-434, 950, 0);
223+
grid1.set_target(-434, 950, 0);
224+
ruler.set_target( 7, 950, 90);
225225
}
226226

227227
function collect_shapes() {
228-
board.collect_pieces(log24s, -600, 0, false, 0, 90);
229-
board.collect_pieces(log4s, -670, 289, false, 0, 90);
230-
board.collect_pieces(log16s, -670, -89, false, 0, 90);
231-
board.collect_pieces(log8s, -740, 223, false, 0, 90);
232-
board.collect_pieces(log12s, -740, -156, false, 0, 90);
233-
board.collect_pieces(square4s, -870, 286, false, 0, 90);
234-
board.collect_pieces(circle4s, -870, 120, false, 0, 90);
235-
board.collect_pieces(square8s, -1120, 220, false, 0, 90);
236-
board.collect_pieces(circle8s, -930, -100, false, 0, 90);
228+
board.collect_pieces(log24s, -100, 0, false, 0, 90);
229+
board.collect_pieces(log4s, -170, 289, false, 0, 90);
230+
board.collect_pieces(log16s, -170, -89, false, 0, 90);
231+
board.collect_pieces(log8s, -240, 223, false, 0, 90);
232+
board.collect_pieces(log12s, -240, -156, false, 0, 90);
233+
board.collect_pieces(square4s, -370, 286, false, 0, 90);
234+
board.collect_pieces(circle4s, -370, 120, false, 0, 90);
235+
board.collect_pieces(square8s, -620, 220, false, 0, 90);
236+
board.collect_pieces(circle8s, -430, -100, false, 0, 90);
237237

238238
}
239239

start-server-linux

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ read -p 'game: ' game
44
read -p 'port: ' port
55

66
cd "${0%/*}"
7-
87
pwd
9-
10-
read pants
11-
12-
echo $PATH
13-
148
node server.js $game $port
159

16-
read shoes
10+
read -p '<enter> to exit: '

0 commit comments

Comments
 (0)