Oops… STEP 3 Maths Question (1996)

Here’s an interesting and doable STEP question on complex numbers (STEP 3 1996). Unlike most STEP questions, this one is doable: Not that hard to figure out, but still needs some thought. Give it a try!

Knowledge you probably need (But not MUSTs):

  • Solving Trignometry Equation
  • De Moivre’s Theorem
  • Vieta’s formulas for cubic polynomials

step3_complexnumber_question

 

Looking for the solution? Continue reading “Oops… STEP 3 Maths Question (1996)”

Battleship!

Battleship! is my term project for 15-112 in summer school. It is a modified version of the original board game Battleship. The game is implemented in Python 2.7 with Pygame.

Unlike traditional Battleship, this WILD version allows players to move the ships and scan a small area to reveal the enemy. Players win by either destroying all enemy ships or moving any ship to the enemy’s back line.

Continue reading “Battleship!”

Online Ranking System for Hearthstone Competition

The Online Ranking system for SCIE eSports Club finally came online! Now this system will be used to facilitate the HearthStone Ranking Competition.

Contestants can login using their personal account, see their current score and rank, start new challenges and view challenge history. Meanwhile staff can manage the system through the admin view, which allows them to manage contestant’s info and set competition results.

The system is based on DJango, which is, in my opinion, one of best web frameworks. I self-learnt DJango from its online tutorial and found that it’s extremelly powerful, manageable, and has lots of conveinent features which save me hours of work.

Since this is my first try writing a web application and it’s still in development, please DON’T TRY TO EXPLOIT/HACK the system! If you find any bugs or have any comments, please tell me and we can fix it together.

How to Access

The system can be accessed directly at http://hs.esportssz.com/hs/

Also, during the competition season, you can access it using the menu of the Official Wechat account (scieesports).

Continue reading “Online Ranking System for Hearthstone Competition”

New Game: Mini Brawl

Check out my newly made game: Mini Brawl: Ice Golem VS Sci-Fi.

Mini Brawl: Ice Golem VS Sci-fi is a role-playing game in which the player controls the mighty clumpy ice golem to fight against waves of ferocious sci-fi enemies. Unleash powerful frost magic onto these autonomous robots and drones; Use energy to cast deadly ice-balls to deal massive damage or to gain mobility to avoid an unfavorable fight; and, salvage their waste and become even more powerful!

minibrawl_3

minibrawl_1

How to Play

Default Keys (Can be changed in game):

  • WASD: Move the character
  • Mouse Left Click: Basic Attack
  • Space: Cast Ice Ball
  • Left-shift: Sprint

Win the game by eliminating all the enemies and the final Boss.

minibrawl_2

Continue reading “New Game: Mini Brawl”

第一个VB程序-AverageScore

今天,自己写的第一个VB程序AverageScore终于测试成功了!尽管这是一个非常简单的计算平均数的程序,但是在我的第一个VB程序中,加入了对于各种非法数值的报错,以及友好的UI及报错提示,使得软件更加稳定并且易用。我相信这是一个好的开始,也希望以后能够制作出更加复杂,实用的软件!

 

Continue reading “第一个VB程序-AverageScore”

安卓4.2.2版本root教程

前天终于下定决心将本人的nexus4给root了,谁知这远比苹果的无脑越狱困难许多,在无数纠结后,终于成功了。现在发个教程供大家参考。需要windows vista以上操作系统。适用于4.2.2及4.0以上安卓系统。

Root方法-步骤

电脑–>安装ADB&FastBoot驱动程序

被root设备–>解锁bootloader(部分手机无需解锁)–>刷入第三方recovery(可选)–>Root设备–>大功告成

Continue reading “安卓4.2.2版本root教程”