Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Jul 19, 2016
1 parent f8d9d73 commit d600f6b
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 10 deletions.
Binary file modified 110/.gradle/2.7/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified 110/.gradle/2.7/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified 110/.gradle/2.7/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file modified 110/.gradle/2.7/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file modified 110/.gradle/2.7/taskArtifacts/taskArtifacts.bin
Binary file not shown.
6 changes: 3 additions & 3 deletions 110/.gradle/gradle.log
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ This mapping 'snapshot_20160618' was designed for MC 1.9.4! Use at your own peri
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:sourceMainJava UP-TO-DATE
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

:processResources
:processResources UP-TO-DATE
:classes
:jar
:sourceTestJava UP-TO-DATE
Expand All @@ -48,4 +48,4 @@ remapping source...

BUILD SUCCESSFUL

Total time: 46.22 secs
Total time: 1 mins 23.104 secs
Binary file modified 194/.gradle/2.7/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified 194/.gradle/2.7/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified 194/.gradle/2.7/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file modified 194/.gradle/2.7/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file modified 194/.gradle/2.7/taskArtifacts/taskArtifacts.bin
Binary file not shown.
6 changes: 3 additions & 3 deletions 194/.gradle/gradle.log
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:sourceMainJava UP-TO-DATE
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

:processResources
:processResources UP-TO-DATE
:classes
:jar
:sourceTestJava UP-TO-DATE
Expand All @@ -46,4 +46,4 @@ remapping source...

BUILD SUCCESSFUL

Total time: 46.643 secs
Total time: 1 mins 19.243 secs
Binary file modified python2-scripts.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions python2-scripts/mcpipy/minetris.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def makePieceState():
n = randint(0, len(PIECES)-1)
return PieceState(PIECES[n], randint(0,3), Block(WOOL.id, (n+1) % 16))

def placePiece(state):
def placePiece(state, nextPieceState):
global descendDelay, droppedFrom, didShowNext
x = WIDTH // 2 - state.getWidth()
y = HEIGHT + state.getHeight() - 2
Expand Down Expand Up @@ -276,8 +276,8 @@ def game():
while True:
if newPiece:
curPieceState = nextPieceState
x,y = placePiece(curPieceState)
nextPieceState = makePieceState()
x,y = placePiece(curPieceState, nextPieceState)
oldPieceState = None
if not curPieceState.fit(x, y, board):
break
Expand Down
Binary file modified python3-scripts.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions python3-scripts/mcpipy/minetris.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def makePieceState():
n = randint(0, len(PIECES)-1)
return PieceState(PIECES[n], randint(0,3), Block(WOOL.id, (n+1) % 16))

def placePiece(state):
def placePiece(state, nextPieceState):
global descendDelay, droppedFrom, didShowNext
x = WIDTH // 2 - state.getWidth()
y = HEIGHT + state.getHeight() - 2
Expand Down Expand Up @@ -276,8 +276,8 @@ def game():
while True:
if newPiece:
curPieceState = nextPieceState
x,y = placePiece(curPieceState)
nextPieceState = makePieceState()
x,y = placePiece(curPieceState, nextPieceState)
oldPieceState = None
if not curPieceState.fit(x, y, board):
break
Expand Down

0 comments on commit d600f6b

Please sign in to comment.