Python project assistance_ECS 170, Python, data, Python program, Web development | Database…_weixin_39872191’s blog
ECS 170, Python, Data, Python, Web Development | DatabaseECS 170: Spring 2020Homework Assignment 2Due Date: No later than Sunday, May 3, 11:59pm PDT. Note that your next homework assignment may be posted before then. You are expected to do this assignment on your own, notwith another person. The assignment: The puzzle called Rush Hour (c. ThinkFun, Inc., www.thinkfun.com) begins with a six -by-six grid of squares. Little plastic cars and trucks are distributed across the grid in such a way as to prevent one special car from moving off the grid, thereby escaping the traffic jam. The initial configuration of cars and trucksis preordained by a set of cards, each containing a different starting pattern. Aplayer draws a card from the deck of cards, sets up the cars and trucks according to the pattern, and then tries to move the special car off the grid by sliding the cars and trucks up and down or left and right, depending on the starting orientation of the cars and trucks. The grid looks something like this: Cars occupy two contiguous squares, while trucks occupy three contiguous squares. All vehicles are oriented horizontally or vertically, never on the diagonal al. Vehicles that are…