Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pingouins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bariatti Francesco
pingouins
Commits
fbb086f0
Commit
fbb086f0
authored
8 years ago
by
Bariatti Francesco
Browse files
Options
Downloads
Patches
Plain Diff
Removed old definitions of penguins var: switched to arrays of uint_32
parent
ce1d5bb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AI/src/game/penguin.hpp
+0
-10
0 additions, 10 deletions
AI/src/game/penguin.hpp
with
0 additions
and
10 deletions
AI/src/game/penguin.hpp
+
0
−
10
View file @
fbb086f0
...
...
@@ -20,15 +20,6 @@ namespace game
//Penguins
uint32_t
peng_red
[
4
]
=
{
0
,
1
,
6
,
7
};
uint32_t
peng_blue
[
4
]
=
{
59
,
58
,
53
,
54
};
//TODO: delete
uint32_t
p1_red
=
0
;
uint32_t
p2_red
=
1
;
uint32_t
p3_red
=
6
;
uint32_t
p4_red
=
7
;
uint32_t
p1_blue
=
59
;
uint32_t
p2_blue
=
58
;
uint32_t
p3_blue
=
53
;
uint32_t
p4_blue
=
54
;
int
score_red
=
0
;
int
score_blue
=
0
;
...
...
@@ -80,7 +71,6 @@ namespace game
std
::
uint64_t
hash
()
const
;
private
:
//TODO: modify/delete functions
penguin_state
state
;
void
move_penguin
(
uint32_t
*
p
,
uint16_t
rel_move
);
uint64_t
create_obstacles_bitboard
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment