【24h】

Chance-It

机译:机会

获取原文
获取原文并翻译 | 示例

摘要

Most people enjoy playing games. Most CS-1 students will enjoy a final project that involves computational game-playing. Chance-It is a simple two-person dice game with many possible strategies at varying levels of sophistication and complexity. These features make the problem of formalizing and encoding a strategy to play Chance-It an interesting final project for CS-1.This paper describes an object-oriented final project for CS-1 in which students build Player1 and Player2 classes to play Chance-It. A ChanceItGame class and driver are provided to coordinate the interactions of these classes. The project provides students with an enjoyable introduction to object-oriented design and the problem of formalizing and codifying human strategy in software. Examples are given in C++, but convert easily to Java.
机译:大多数人喜欢玩游戏。大多数CS-1学生会喜欢一个涉及计算机游戏的最终项目。 Chance-It 是一款简单的两人骰子游戏,具有在复杂程度和复杂程度不同的多种可能策略。这些功能使形式化播放机会的策略成为问题,这是CS-1的一个有趣的最终项目。本文介绍了CS-1的面向对象的最终项目,在该项目中,学生可以构建Player1和Player2类别来播放Chance-它。提供了ChanceItGame类和驱动程序来协调这些类的交互。该项目为学生提供了一个有趣的介绍,介绍了面向对象的设计以及在软件中将人的策略形式化和编纂的问题。示例以C ++给出,但可以轻松转换为Java。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号