Java 一个学习编程的教育游戏?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3948444/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 07:24:32  来源:igfitidea点击:

An educational game for learning programming?

java

提问by user385261

Is there any fun, educational game (maybe a flash game, etc.) that help learning the concept of programming and training your brain to think like a programmer?

是否有任何有趣的教育游戏(可能是 Flash 游戏等)可以帮助您学习编程概念并训练您的大脑像程序员一样思考?

Actually, I am not the one who will be playing it; it'd be my friend instead. I tried to help out my best friend through the university Java course (at my university, it is a kinda "sucky" course). I have practiced programming for many years, so for me it is not a problem. However, my best friend, whose major is not in computer engineering (but must take this course due to it being required), has a very hard time being introduce to Java by the boring professor and very confusing textbook.

实际上,我不是会玩它的人;而是我的朋友。我试图通过大学 Java 课程帮助我最好的朋友(在我的大学,这是一门“糟糕”的课程)。我已经练习编程多年,所以对我来说这不是问题。然而,我最好的朋友,他的专业不是计算机工程(但必须参加这门课程,因为它是必需的),很难被无聊的教授和非常混乱的教科书介绍给 Java。

I tried to simplify many context for my friend, but still it seems he gets bored with those confusing context very fast. Therefore, if possible, I'd like to introduce it to him in a more enjoying way such as a game.

我试图为我的朋友简化许多上下文,但他似乎仍然很快对那些令人困惑的上下文感到厌烦。所以,如果可能的话,我想以一种更有趣的方式,比如游戏,介绍给他。

采纳答案by Adis

There are several games available, this one is closest to programming and fun I've encountered so far:

有几种游戏可用,这是我迄今为止遇到的最接近编程和乐趣的游戏:

light-Bot

轻机器人

light-Bot 2.0

轻机器人 2.0

UpdateHere are the newest versions of the game, which include better explanatory texts and a friendlier drag/drop interface:

更新这里是游戏的最新版本,其中包括更好的解释性文本和更友好的拖放界面:

Lightbot

轻型机器人

And a version for young kids in particular: [ages 4-8]

还有一个特别适合年幼孩子的版本:[4-8 岁]

Lightbot JR

轻型机器人

回答by Core Xii

回答by Lucero

CeeBotis great.

CeeBot很棒。

回答by Oleg Razgulyaev

What about programming like playing a game:

像玩游戏一样编程怎么样:

Scratchis a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web.

Scratch是一种编程语言,可让您轻松创建自己的交互式故事、动画、游戏、音乐和艺术——并在网络上分享您的创作。

回答by codaddict

I would suggest implementing hangman, tic-tac-toe( 2 player version to start with and later can be modified to play with computer).

我建议实施hangmantic-tac-toe(开始时为 2 播放器版本,以后可以修改为与计算机一起玩)。

回答by mtraxl

http://codingbat.com/It might not look like a game.

http://codingbat.com/它可能看起来不像游戏。

But it's a site, that offers easily understandable problems, ranging from complete beginner problems to intermediate problems. Split up into categories based on the subject they're covering.

但它是一个站点,提供易于理解的问题,从完整的初学者问题到中级问题。根据他们所涵盖的主题分成几类。

You write the code on the site, and then it tests it, and shows you the results.
The game part comes in when you complete an assignment and it gives you a point! (In the form of a star).

您在网站上编写代码,然后对其进行测试,并向您显示结果。
当你完成一项任务时,游戏部分就会出现,它会给你一个分数!(以星星的形式)。

The constant gratification of being rewarded when you solve a problem makes for a much more pleasing and interesting learning experience I've found... It helped me and my classmates a lot when we had an incompetent Java teacher :p

当您解决问题时不断获得奖励的满足感使我发现一种更加愉快和有趣的学习体验......当我们有一个不称职的Java老师时,它对我和我的同学有很大帮助:p

回答by Mateusz Chromiński

there was the game called Colobotdays ago

有游戏叫Colobot天前

回答by Czar Pino

Just to keep updated, there is a new game CodeSpells which is quite an interesting game.

只是为了保持更新,有一个新游戏 CodeSpells,这是一个非常有趣的游戏。

In the gameplay, the player is a wizard arriving in a land populated by gnomes, which is a group who used to have magic powers but lost it. The wizard has to help gnomes by writing spells in Java. Players have seven spells available to use, including levitating objects within the game, flying and making fire.

在游戏玩法中,玩家是一个巫师,来到了侏儒居住的土地,侏儒是一个曾经拥有魔力但失去了魔力的群体。巫师必须通过用 Java 编写咒语来帮助侏儒。玩家可以使用七种法术,包括在游戏中悬浮物体、飞行和生火。

See: CodeSpells First-person Player Video Game Teaches Kids How To Program In Java

请参阅:CodeSpells 第一人称视频游戏教孩子们如何用 Java 编程