Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP1 #11

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

TP1 #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8966dcb
:-----------------D
Feb 23, 2017
2d051ce
test
Feb 23, 2017
d0103f1
implemented kangaskhan species and pokemon, with a full moveset. chan…
Feb 23, 2017
24523a5
a few minor changes; also testing wercker
Feb 23, 2017
19bb8c6
changed move id to actual names
Feb 23, 2017
36c62d1
added function to calculate damage dealt by reversal, changed IV/EV a…
Feb 24, 2017
690254a
fixed a bunch of stuff, now it should compile. commented out stat cal…
Feb 24, 2017
f5e7120
fixed pokemon/species types, a few small changes, expanded a bit on w…
Feb 24, 2017
49f3394
a few minor changes, removed huge useless comment blurb, added curren…
Feb 24, 2017
d7c424b
lots of detail o nthe working of the battle cycle, added init() heade…
Feb 25, 2017
9417569
type damage multiplier, also some small changes
Feb 25, 2017
40a6ef7
changed test to match change in source
Feb 25, 2017
b5a4566
small changes to source and test
Feb 25, 2017
82ee162
small changes, trying to get the type damage modifier thing to work
Feb 25, 2017
94e4acc
small change to test
Feb 25, 2017
edf9d91
minor change to test, maybe wercker testing should work now
Feb 25, 2017
330bbe7
small fix on previous commit
Feb 25, 2017
1ac5e13
fixed stat computation, changed Stats struct to Double to clean up so…
Feb 27, 2017
9185107
changed type modifier function, should now work correctly when calcul…
Feb 27, 2017
5e8b388
wercker test
Feb 27, 2017
79ef4f5
fixed stat calculation, a few minor changes
Feb 27, 2017
cc5b63f
fixed type modifier and changed damage function a little, put current…
Feb 27, 2017
153ef68
started writing out battle function, added item struct, two trainers,…
Mar 7, 2017
85a572b
added stat/weather effect stubs to move struct, separated moves and r…
Mar 11, 2017
0a68813
worked on battle functions, some other changes to smooth out type com…
Mar 12, 2017
449035f
finished up basic version of battle function
Mar 12, 2017
f13a904
some small changes to battle function, also a few minor chnages throu…
Mar 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Sources/main.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
print("starting...")

battle(trainers: &trainers)

print("done!")
Loading