excel游戏_Excel集中游戏

excel游戏

A couple of Fridays ago, in the What's in Your Desk Drawer comments, Doug Glancy mentioned that he had created a concentration game in Excel.

几个星期五之前,Doug Glancy 在“抽屉中的内容”评论中提到他已经在Excel中创建了一个专注游戏。

One of my first Excel VBA programming fun projects was to write one for my daughter and I to play. It had multiple decks, 3 user modes and "animated" cards (the pairs moved across the screen to a pile when correctly selected). Somewhat fun to play, and a great learning experience.

我的第一个Excel VBA编程有趣项目之一就是为我和我的女儿写一个游戏。 它具有多个卡座,3个用户模式和“动画”卡(正确选择后,两对在屏幕上移动到一堆)。 玩起来有点有趣,并且学习很棒。

下载样本文件 (Download the Sample File)

Doug sent me a copy of the file, so you can see the game for yourself: Excel Concentration Game

道格(Doug)向我发送了该文件的副本,因此您可以自己查看游戏: Excel Concentration Game

When the file opens, you can enable the macros, so the game will run. There's one worksheet, with a button that you click to start the game.

当文件打开时,您可以启用宏,这样游戏就会运行。 有一个工作表,您单击一个按钮即可启动游戏。

游戏 (The Game)

The game opens, with a deck of cards, turned face down. You select two cards and try to match the pictures.

游戏以一副纸牌面朝下打开。 您选择两个卡,然后尝试匹配图片。

The game records the number of clicks, time used, and the match count. I am very bad at this game!

游戏记录点击次数,使用时间和比赛次数。 我对这个游戏很不好!

There are game options, including number of players, and type of card.

有游戏选项,包括玩家数量和纸牌类型。

这个怎么运作 (How It Works)

Doug's concentration game is built on a UserForm. In the sample file you can see all the code that makes it operate. It took me a couple of minutes to find the sets of cards – one for mammals and one for birds. They're to the right of the visible area on the UserForm.

道格的专注游戏建立在UserForm上 。 在示例文件中,您可以看到所有使其运行的代码。 我花了几分钟才找到卡片组-一张用于哺乳动物,另一张用于鸟类。 它们位于用户窗体上可见区域的右侧。

其他Excel游戏 (Other Excel Games)

Do you know of any other free Excel games out there? ____________________

您知道那里还有其他免费的Excel游戏吗? ____________________

翻译自: https://contexturesblog.com/archives/2009/02/20/excel-concentration-game/

excel游戏

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值