Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Project_part1_Rezvanian_9831029
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9831029
Project_part1_Rezvanian_9831029
Commits
6a106bd8
Commit
6a106bd8
authored
Apr 02, 2020
by
Haj Rezvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add refresh method
parent
334b3718
Pipeline
#3166
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Board.java
Board.java
+3
-0
GamePlay.java
GamePlay.java
+1
-0
No files found.
Board.java
View file @
6a106bd8
...
...
@@ -125,6 +125,9 @@ public class Board implements IBoard {
//clear terminal for refresh.
new
ProcessBuilder
(
"cmd"
,
"/c"
,
"cls"
).
inheritIO
().
start
().
waitFor
();
System
.
out
.
println
();
System
.
out
.
println
();
System
.
out
.
println
();
for
(
int
i
=
0
;
i
<
4
*
9
;
i
++){
for
(
int
j
=
0
;
j
<
8
*
9
;
j
++){
...
...
GamePlay.java
View file @
6a106bd8
...
...
@@ -11,5 +11,6 @@ public class GamePlay {
Nuts
nuts1W
=
new
Nuts
(
'w'
,
4
,
'E'
);
Nuts
nuts2W
=
new
Nuts
(
'w'
,
5
,
'D'
);
mapGame
.
refresh
();
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment