From 49818c053c284b8348d6a3c059887a31d61d547b Mon Sep 17 00:00:00 2001 From: Syf2 <1599713629@qq.com> Date: Fri, 15 Nov 2024 10:48:13 +0800 Subject: [PATCH 1/2] Add files via upload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit license和源码 --- .../LICENSE" | 202 +++++++++ .../moon.mod.json" | 13 + .../src/lib/hello.mbt" | 3 + .../src/lib/hello_test.mbt" | 5 + .../src/lib/moon.pkg.json" | 1 + .../src/moon.pkg.json" | 22 + .../src/top.mbt" | 400 ++++++++++++++++++ 7 files changed, 646 insertions(+) create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/LICENSE" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/moon.mod.json" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello.mbt" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello_test.mbt" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/moon.pkg.json" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/moon.pkg.json" create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/top.mbt" diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/LICENSE" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/LICENSE" new file mode 100644 index 0000000..75b5248 --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/LICENSE" @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/moon.mod.json" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/moon.mod.json" new file mode 100644 index 0000000..18ce660 --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/moon.mod.json" @@ -0,0 +1,13 @@ +{ + "name": "spaceack/zsl", + "version": "0.1.0", + "deps": { + "moonbitlang/wasm4": "0.2.2" + }, + "readme": "README.md", + "repository": "", + "license": "Apache-2.0", + "keywords": [], + "description": "", + "source": "src" +} \ No newline at end of file diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello.mbt" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello.mbt" new file mode 100644 index 0000000..2dc5040 --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello.mbt" @@ -0,0 +1,3 @@ +pub fn hello() -> String { + "Hello, world!" +} diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello_test.mbt" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello_test.mbt" new file mode 100644 index 0000000..016976a --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/hello_test.mbt" @@ -0,0 +1,5 @@ +test "hello" { + if @lib.hello() != "Hello, world!" { + fail!("@lib.hello() != \"Hello, world!\"") + } +} diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/moon.pkg.json" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/moon.pkg.json" new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/lib/moon.pkg.json" @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/moon.pkg.json" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/moon.pkg.json" new file mode 100644 index 0000000..0c7745a --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/moon.pkg.json" @@ -0,0 +1,22 @@ +{ + + "import": ["moonbitlang/wasm4"], + "link": { + "wasm-gc": { + "exports": ["start", "update"], + "import-memory": { + "module": "env", + "name": "memory" + } + }, + "wasm": { + "exports": ["start", "update"], + "import-memory": { + "module": "env", + "name": "memory" + }, + "heap-start-address": 6590 + } + } +} + diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/top.mbt" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/top.mbt" new file mode 100644 index 0000000..c585bca --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/src/top.mbt" @@ -0,0 +1,400 @@ +//初始化棋子 +let white:Int =-1 +let black:Int =1 +let blank:Int =0 +let max_row:Int =16 +let max_col:Int =16 +let chessboard:FixedArray[FixedArray[Int]]=[ + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + ] + +struct GameStat{ + mut game_state:String +} + +// } +let game:GameStat={game_state:"menu"} + + +pub fn update() -> Unit { + // 如果在菜单界面,则显示游戏开始界面 + let gamepad=@wasm4.get_gamepad() + if game.game_state == "menu" { + @wasm4.set_draw_colors(4) + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2); + @wasm4.text("<>", 15, 40); + @wasm4.text("Press left to Play", 10, 60); // 显示开始提示文字 + + // 检测按钮 + if gamepad.button_left { + game.game_state = "start"; // 切换到游戏状态 + } + return; // 不进入后续逻辑 + } + + // 如果是游戏开始状态,初始化棋盘 + if game.game_state == "start" { + game.game_state = "play"; + } + + // 游戏中的逻辑 + if game.game_state == "play" { + // 画棋盘 + draw_chessboard(); + // 绘制棋盘和棋子 + draw_chessman(chessboard); + + // 检测棋盘状态 + person_computer_random(); + + // 检查是否有玩家胜出 + let result = is_win(chessboard); + if result == black { + // @wasm4.trace("b win") + @wasm4.set_draw_colors(4) + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2) + @wasm4.text("Black wins!", 10, 10); + @wasm4.text("Press left to Play", 10, 40); + if gamepad.button_left{ + game.game_state = "gameover"; // 结束后返回菜单 + } + } else if result == white { + @wasm4.set_draw_colors(4) + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2) + @wasm4.text("Press left to Play", 10, 40); + @wasm4.text("White wins!", 10, 10); + if gamepad.button_left{ + game.game_state = "gameover"; // 结束后返回菜单 + } + } + + //判断棋盘是否填满 + if is_full(chessboard) == 1{ + @wasm4.set_draw_colors(4) + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2); + @wasm4.text("Game Over", 40, 40); + @wasm4.text("Press right to Menu", 5, 60); + if gamepad.button_left{ + // 重置棋盘并返回菜单 + reset_chessboard(); + game.game_state = "menu"; + } + } + } + + // 游戏结束界面,等待玩家按下“开始”按钮回到主菜单 + if game.game_state == "gameover" { + @wasm4.set_draw_colors(4) + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2); + @wasm4.text("Game Over", 40, 40); + @wasm4.text("Press right to Menu", 5, 60); + + if gamepad.button_right{ + // 重置棋盘并返回菜单 + reset_chessboard(); + game.game_state = "menu"; + } + } + } + + +pub fn start() -> Unit { + @wasm4.trace("Game started!") +} + +// 初始化棋盘的绘制 +pub fn draw_chessboard() -> Unit { + @wasm4.set_draw_colors(3); + @wasm4.rect(0,0,160,160) + @wasm4.set_draw_colors(2) +@wasm4.line(5,0,5,160) + @wasm4.line(15,0,15,160) + @wasm4.line(25,0,25,160) + @wasm4.line(35,0,35,160) + @wasm4.line(45,0,45,160) + @wasm4.line(55,0,55,160) + @wasm4.line(65,0,65,160) + @wasm4.line(75,0,75,160) + @wasm4.line(85,0,85,160) + @wasm4.line(95,0,95,160) + @wasm4.line(105,0,105,160) + @wasm4.line(115,0,115,160) + @wasm4.line(125,0,125,160) + @wasm4.line(135,0,135,160) + @wasm4.line(145,0,145,160) + @wasm4.line(155,0,155,160) + + @wasm4.line(0,5,160,5) + @wasm4.line(0,15,160,15) + @wasm4.line(0,25,160,25) + @wasm4.line(0,35,160,35) + @wasm4.line(0,45,160,45) + @wasm4.line(0,55,160,55) + @wasm4.line(0,65,160,65) + @wasm4.line(0,75,160,75) + @wasm4.line(0,85,160,85) + @wasm4.line(0,95,160,95) + @wasm4.line(0,105,160,105) + @wasm4.line(0,115,160,115) + @wasm4.line(0,125,160,125) + @wasm4.line(0,135,160,135) + @wasm4.line(0,145,160,145) + @wasm4.line(0,155,160,155) +} + +// 重置棋盘 +pub fn reset_chessboard() -> Unit { + for i = 0; i < max_row; i = i + 1 { + for j = 0; j < max_col; j = j + 1 { + chessboard[i][j] = blank; + } + } +} + +//初始化棋子 +pub fn draw_chessman(chessboard:FixedArray[FixedArray[Int]])->Unit { + for i=0;iInt { + for i = 0; i 4{ + if chessboard[i][j] == chessboard[i + 1][j - 1] && + chessboard[i][j] ==chessboard[i + 2][j - 2]&& + chessboard[i][j] == chessboard[i + 3][j - 3] && + chessboard[i][j] == chessboard[i + 4][j - 4]{ + return chessboard[i][j];} + } + } + } + return blank; +} + + +//判断棋盘是否已满 +pub fn is_full(chessboard:FixedArray[FixedArray[Int]])-> Int{ + let mut ret= 1 + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + if chessboard[i][j] ==blank{ + ret = 0; + break; + } + } + } + return ret; +} + +//人机对战 +//人机对战 +pub fn person_computer_random()->Unit { + let mouse=@wasm4.get_mouse() + let gamepad=@wasm4.get_gamepad() + let mut place=false + for step=1; step <= 2;step=step+1 { + if step % 2 == 1 &&place==false{ + if mouse.left{ + if chessboard[mouse.x/10][mouse.y/10] ==white||chessboard[mouse.x/10][mouse.y/10] ==black{ + continue; + } + chessboard[mouse.x/10][mouse.y/10] = black; + draw_chessman(chessboard); + @wasm4.tone( + (2000, 0), + @wasm4.ADSR::new(5), + @wasm4.ADSRVolume::new(100), + @wasm4.ToneFlag::new(), + ) + place=true + } + if is_win(chessboard) == black { + if gamepad.button_left{ + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + chessboard[i][j]=0; + } + } + } + break; + } + } + if step % 2 == 0&&place==true{ + let (i, j) = find_best_move(chessboard, black) + if chessboard[i][j] ==blank{ + chessboard[i][j] = white; + draw_chessman(chessboard); + @wasm4.tone( + (2000, 0), + @wasm4.ADSR::new(5), + @wasm4.ADSRVolume::new(100), + @wasm4.ToneFlag::new(), + ) + } + if is_win(chessboard) == white { + if gamepad.button_left{ + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + chessboard[i][j]=0; + } + } + } + break; + } + } + + } + if is_full(chessboard) == 1{ + if gamepad.button_left{ + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + chessboard[i][j]=0; + } + } + } + @wasm4.text("is full", 10, 10); + } + } + + +// 启发式算法:选择最优的落子位置 +pub fn find_best_move(chessboard: FixedArray[FixedArray[Int]], player: Int) -> (Int, Int) { + let mut best_score = -9999999 + let mut best_move = (0, 0) + + // 遍历棋盘 + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + if chessboard[i][j] == blank { + // 暂时模拟下一个落子 + chessboard[i][j] = player + let score = evaluate_board(chessboard, player) + // 恢复棋盘 + chessboard[i][j] = blank + + if score > best_score { + best_score = score + best_move = (i, j) + } + } + } + } + + best_move +} + +// 评估当前棋盘状态的得分 +pub fn evaluate_board(chessboard: FixedArray[FixedArray[Int]], player: Int) -> Int { + let mut score = 0 + + // 扫描棋盘所有方向,横竖斜方向评估 + for i = 0; i < max_row; i=i+1 { + for j = 0; j < max_col; j=j+1 { + if chessboard[i][j] == player { + score += evaluate_line(chessboard, i, j, player) + } + } + } + + score +} + +// 评估某一方向上的得分 +pub fn evaluate_line(chessboard: FixedArray[FixedArray[Int]], x: Int, y: Int, player: Int) -> Int { + let mut score = 0 + let directions = [ + (1, 0), // 横向 + (0, 1), // 纵向 + (1, 1), // 左斜 + (1, -1), // 右斜 + ] + + for i=0;i<4;i=i+1 { + let (dx,dy)=directions[i]; + let mut count = 0 + let mut block = false + for step=0;step<5;step=step+1{ + let nx = x + dx * step + let ny = y + dy * step + + // 如果超出棋盘范围或者遇到对方棋子,停止计数 + if nx < 0 || nx >= max_row || ny < 0 || ny >= max_col || chessboard[nx][ny] == -player { + block = true + break + } + + if chessboard[nx][ny] == player { + count += 1 + } else if chessboard[nx][ny] == blank { + // 空位,暂时不增加分数 + break + } + } + // 如果没有堵住的情况,算分 + if block==false { + score += count * 10 + } + } + score +} From 423634705a6fb052d8c904e3388347aa9456bd40 Mon Sep 17 00:00:00 2001 From: Syf2 <1599713629@qq.com> Date: Fri, 15 Nov 2024 20:56:38 +0800 Subject: [PATCH 2/2] Create version --- .../\345\233\233\345\244\247\345\244\251\347\216\213/version" | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 "teams/\345\233\233\345\244\247\345\244\251\347\216\213/version" diff --git "a/teams/\345\233\233\345\244\247\345\244\251\347\216\213/version" "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/version" new file mode 100644 index 0000000..be40d42 --- /dev/null +++ "b/teams/\345\233\233\345\244\247\345\244\251\347\216\213/version" @@ -0,0 +1,4 @@ +PS E:\sf_test\moonbit_wsam4_game> moon version --all +moon 0.1.20241111 (e6d64e0 2024-11-11) ~\.moon\bin\moon.exe +moonc v0.1.20241111+dc2407357 ~\.moon\bin\moonc.exe +moonrun 0.1.20241111 (e6d64e0 2024-11-11) ~\.moon\bin\moonrun.exe