- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 45字
- 2021-06-24 18:31:53
Implementation
There's no real need to check whether it really is the player's first turn or not. As it stands, this test can be fulfilled by always returning X. Later tests will force us to refine this code:
public char nextPlayer() { return 'X'; }
推薦閱讀
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- Flask Web開發入門、進階與實戰
- C#程序設計教程
- Raspberry Pi 2 Server Essentials
- Python機器學習編程與實戰
- Bootstrap 4:Responsive Web Design
- Ext JS 4 Web Application Development Cookbook
- INSTANT Sinatra Starter
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- Mastering Adobe Captivate 7
- Java Web開發教程:基于Struts2+Hibernate+Spring
- 和孩子一起學編程:用Scratch玩Minecraft我的世界
- Learning TypeScript
- Getting Started with RethinkDB
- Python自動化開發實戰