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
e014cbf1
Commit
e014cbf1
authored
Apr 05, 2020
by
Haj Rezvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The program updated to version 0.2
Change Board's fields and method, to static fields and methods.
parent
297a75c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GamePlay.java
GamePlay.java
+3
-3
No files found.
GamePlay.java
View file @
e014cbf1
...
...
@@ -2,8 +2,8 @@ import java.io.IOException;
public
class
GamePlay
{
public
static
void
main
(
String
[]
args
)
throws
IOException
,
InterruptedException
{
Board
mapGame
=
new
Board
();
mapGame
.
printMap
();
Board
.
initialisingBoard
();
Nuts
nuts1B
=
new
Nuts
(
'b'
,
4
,
'D'
);
Nuts
nuts2B
=
new
Nuts
(
'b'
,
5
,
'E'
);
...
...
@@ -11,6 +11,6 @@ public class GamePlay {
Nuts
nuts1W
=
new
Nuts
(
'w'
,
4
,
'E'
);
Nuts
nuts2W
=
new
Nuts
(
'w'
,
5
,
'D'
);
mapGame
.
refresh
();
Board
.
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