Matrix是用什么语言编写出来的?
骇客帝国吧
全部回复
仅看楼主
level 1
Matrix是用什么语言编写出来的啊?是c语言么?或者是vb ?delphi ?java ?……这里应该有搞电脑程序开发的吧。。。如果要你写一个,你会怎么设计啊?如果可能的话,今天晚上就开始写吧。。。
2005年07月27日 09点07分 1
level 2
呵呵,C语言
2005年07月27日 14点07分 2
level 0
???????
2005年07月28日 00点07分 3
level 0
机器语言,也就是10110001101100101101100010101100010100100101010100011010110111000110100110010100111001011010001100101
2005年07月30日 07点07分 5
level 1
FORTRAN PASCAL BASIC
2005年07月30日 13点07分 6
level 1
郁闷啊,我在想,那个时候的开发工具会不会是汇编啊~~~听说那玩意儿执行效率高啊~~
2005年07月31日 03点07分 7
level 0
不好意思,我编出来的4楼有胡扯的毛病
2005年08月04日 09点08分 8
level 0
Matrix 是 01 编写的,所以是机器码编写的,比汇编、C等人类用的语言效率更高
2005年08月06日 02点08分 9
level 1
都不是!!!大家有没有听说过量子计算机啊未来的计算机都是量子计算机量子计算机的工作原理与经典计算机是不同的!!!编程语言也会有很大的不同!!!
2005年08月06日 08点08分 10
level 1
B++
2005年08月06日 13点08分 11
level 0
BASIC
2005年08月10日 08点08分 12
level 0
JAVA
2005年09月20日 03点09分 13
level 0
要是用现在的语言编写得累死。应该跟编游戏差不多,虚拟现实的最高境界。我认可相信有能回到过去了机器也不相信会有这个东西。
2005年09月24日 17点09分 14
level 0
汇编和C。没其它的。后期会用到C++。
2005年09月27日 08点09分 15
level 0
绿色字体流动时,大部分是日文,里面很少出现英文字母的,
2005年12月29日 17点12分 16
level 1
对!大多是些数字、大写字母、日文片假名。(当然,有些是把字符旋转、翻折的)
2006年02月05日 12点02分 17
level 0
Q-BASIC我正在编
2006年02月08日 11点02分 18
level 0
......ARCHITECT...
2006年02月08日 11点02分 19
level 0
汇编
2006年03月03日 11点03分 20
level 0
//defensive scenario runtime- barbarian assault from all sidesthe matrix{ labels { DEFENDER, //PLAYER ATTACKER, //COMPUTER } //VARIABLES //the x and y coordinates of the center of the map static int center_x = get_map_size() / 2; static int center_y = center_x; //counter of how many attack waves the barbarians have sent static int attack_count = 0; //variables that store your capital name and capital id static String my_capital_name = find_capital(DEFENDER); static int my_capital_id = find_city_id(my_capital_name); //find out what the time limit is static int time_limit = get_time_limit(); //variable that keeps track of the current time static int cur_time = time(); //used to keep track of where units should be placed static int x; static int y; //variable used to keep track of which side the computer comes from static int side; //do this stuff once at start-up of scenario run_once { //allow the computer to transport over water even if it doesn't have a dock and the right technology force_transport_ability(ATTACKER); //don't allow the computer to be defeated if it has no units on the map disable_city_defeat(ATTACKER); //sets the timer that spawns barbarian troops set_timer("units", 15); } //keeps track of current time cur_time = time(); //spawns the barbarian troops if (timer_expired("units")) { //find a spot to place troops near edge of map, side 0 = top left, side 1 = bottom right, side 2 = top right, side 3 = bottom left side = rand_int(0, 3); switch (side) { case 0 : x = 0; y = rand_int(0, get_map_size() - 1); break; case 1 : x = get_map_size() - 1; y = rand_int(0, get_map_size() - 1); break; case 2 : x = rand_int(0, get_map_size() - 1); y = 0; break; case 3 : x = rand_int(0, get_map_size() - 1); y = get_map_size() - 1; break; } //add the units if (attack_count >= 0 && attack_count <= 5) { //this is attack waves 1 through 6 create_unit_upgrade(ATTACKER, x, y, "light horse", 1); //creates the upgrade of light horse create_unit_in_group(ATTACKER, x, y, "slingers", 1); //works the same as create_unit_upgrade, but makes these units be in the same group as the last ones set_timer("units", 30); //re-initializes the countdown timer for the next set of troops } else if (attack_count == 6) { create_unit_upgrade(ATTACKER, x, y, "bowmen", 2); create_unit_in_group(ATTACKER, x, y, "catapult", 1); set_timer("units", 35); } else if (attack_count > 6 && attack_count <= 9) { create_unit_upgrade(ATTACKER, x, y, "hoplites", 2); set_timer("units", 35); } else if (attack_count > 9 && attack_count <= 15) { create_unit_upgrade(ATTACKER, x, y, "bowmen", 2); set_timer("units", 35); } else if (attack_count > 15 && attack_count <= 17) { create_unit_upgrade(ATTACKER, x, y, "slingers", 1); create_unit_in_group(ATTACKER, x, y, "catapult", 1); set_timer("units", 30); } else if (attack_count > 17 && attack_count <= 20) { create_unit_upgrade(ATTACKER, x, y, "bowmen", 1); create_unit_in_group(ATTACKER, x, y, "slingers", 1); set_timer("units", 30); } else if (attack_count > 20 && attack_count <= 24) { //ancient age create_unit_upgrade(ATTACKER, x, y, "bowmen", 1); create_unit_in_group(ATTACKER, x, y, "catapult", 1); create_unit_in_group(ATTACKER, x, y, "cataphract", 1); set_timer("units", 30); } attack_count++; //increase the attack counter group_attack_to_order(ATTACKER, center_x, center_y); //give the group an attack order } //if the current time equals the time limit, the defender wins if (cur_time >= time_limit) { victory(DEFENDER); } //if the attacker captures the defender's capital, the attacker wins if (city_id_captured(DEFENDER, my_capital_id)) { victory(ATTACKER); } }
2006年03月18日 15点03分 21
1 2 尾页