搜索资源列表
caro
- This program implement minimax algorithm for caro game for two players, O and X, who take turns marking the spaces in a n*n grid, assuming that O goes first. The player who succeeds in placing five respective marks in a consecutive horizontal,
five-in-a-row--game
- 简单五子棋游戏,带有较为详细的注解! 都是由java实现,可以选择Eclipse 或者My eclipse 运行!有助于掌握基本的java编程能力!-This is a simple five in a row game realised in java!It can help to excersie comprehension of java program and improve java skills!
Five-In-A-Row
- 一个纯JS写的五子棋游戏。可以看到源码,支持各个浏览器运行。-A pure JS write 331 games. You can see the source code support each browser running.
JavaCodeAnalyzer
- Java语言共有50个关键字(自行查找相关文档),已知Java源程序是以“.java”为扩展名的文本文件。可以考虑在Java源程序中共有3类元素: <1> 代码行,可运行的Java源代码; <2> 注释行,3种注释均可; <3> 空行,既无代码,也无注释; 编写一个类名为JavaCodeAnalyzer的类,实现以下功能: <1> 该类可以以一个Java源程序文件名创建一个对象,如果文件不存在,或扩展名不
gomoku
- 游戏作业GOMOKU,五子棋,带AI电脑智能玩家。在GUI棋盘上放下你的棋子尽量使得他们中的5各连成一条线;但是你的对手可能会阻止你达到目的并且它也在努力取得胜利。-Games homework GOMOKU, with computer AI players. Put down your pieces on the GUI board try to make five oieces in a row but your competitor may prevent you achieving
Lottery
- 编写一个彩票模拟程序: * 首先提示用户玩法: * 玩法一:21选5 * 输入五个不同的数(从1,2,3.....21中选) * 玩法二:6+1 * 输入七个数(代表购买彩票的号码,最后一位是特别号) * 根据用户选择的玩法,随机生成开奖号码,与用户输入的号码比较,判断是否中奖,中几等奖,输出结果 * 21选5 * 一等奖:五个号码相同 * 二等奖:四个号码相同 * 三等奖:三个号码相同 * 6+1
