• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

matthewglover / tic-tac-toe / 116
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: alpha-beta
DEFAULT BRANCH: master
Ran 06 Apr 2017 07:20AM UTC
Jobs 1
Files 18
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
116

push

travis-ci

matthewglover
refactor(logic): update miniMax and alphaBeta base case logic

As base case runs when no more moves are available, we should calculate score based

 on the last

player, not the current player. So we update isMax to refer to

 lastPlayer and calculate score for

lastPlayer not nextPlayer. Flowing these updates

 through to alpha and beta calculation functions,

makes logic clearer.

253 of 253 relevant lines covered (100.0%)

775891.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 116.1 06 Apr 2017 07:20AM UTC 0
100.0
Travis Job 116.1
Source Files on build 116
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #116
  • 6aa2161b on github
  • Next Build on alpha-beta (#119)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc