首页 > 其他分享 >DDWT Pokemon League

DDWT Pokemon League

时间:2024-11-08 18:20:01浏览次数:1  
标签:League information Bootstrap page HTML should Pokemon DDWT card

DDWT Assignment Two

Version Changes

Details

Version 1.0

Initial Release

Version 1.1

Updated Task 1 to reflect task is to cover all card types

 

Pokemon League

 

All work is to be done individually and must be your own work. You must not share your @razor code or SQL with anyone else.  You must only submit code you have personally written (with the exception of utilising bootstrap html template examples). If you use other resources, you must include direct links to those resources as HTML/@razor comments at the bottom of the relevant files.  You are also reminded that use of AI tools for assignments in this course is considered academic misconduct.

Your task is to complete several web pages to search, view and add data relating to the South Australian Pokemon League database.  Do not leave this to the last minute as it is not possible to finish the project without prior thought to the implementation.  Writing queries is one thing but implementing SQL with programming logic in @Razor and HTML combined with Bootstrap presentation does require serious thought to get the desired functionality and outcomes!

Task

A web application containing the necessary database and MVC Views has already been created for you.  This can be downloaded from the assessments tab on the course website.  Your task is to complete several pages:

  1. Views/PokemonCards/Index.cshtml
  2. Views/PokemonCards/Detail.cshtml
  3. Views/PokemonDecks/Index.cshtml
  4. Views/PokemonDecks/Details.cshtml
  5. Views/Tournaments/Index.cshtml
  6. Views/Tournaments/Detail.cshtml

with the necessary layout using the WebMatrix data library, HTML, bootstrap v5.x and @Razor code.  Start by working on the PokemonCards/Index page that allows a person to view all the Pokemon cards in the database.  You will need to determine the best layout to present the data to our users and ensure you implement HTML Validation to reduce errors. Once this is working, start implementing the other pages in the order above.

Task 1: Pokemon Cards [30%]

url: PokemonCards/Index

This page is intended to display a comprehensive list of all cards available in the database. The page should retrieve all cards and display their attributes such as name, type, HP, Trainer type, energy type and any other relevant statistics, depending on what type of card they are. Users should be able to view this information in a clear and organized manner.

  • HTML/Bootstrap Layout:
    • Use Bootstrap's table or card components to present each card in an organized fashion.
    • Include a search bar at the top of the page to allow users to filter cards by name or element  (if relevant). Utilize Bootstrap's form controls and grid system to ensure responsiveness.
    • Implement a dropdown menu to filter by card type (Pokemon, Trainer, Energy)
    • Each card entry should include a button or link that directs the user to the detail page for that specific card (PokemonCards/Detail?cardID=xx).

 

 

 

url: PokemonCards/Detail?cardID=xx

The detail page provides in-depth information about a specific card. It should display all detailed attributes such as the card's image, name, type, HP, attacks, any special abilities, trainer text, energy type or descriptions, etc. The page should retrieve the details of the card based on the cardID passed via the query string.

  • HTML/Bootstrap Layout:
    • Present the card's information in a visually appealing layout.
    • Display the card image prominently.
    • Include a back button to return to the index page.
    • Use Bootstrap's alert components to handle and display error messages if an invalid cardID is provided or if the card is not found.

 

 

Task 2: Pokemon Decks [30%]

url: /PokemonDecks/Index

This page displays a list of all Pokémon decks stored in the database. It should retrieve the decks and display information such as the deck name, creator, and the number of cards in each deck. Users should be able to sort or filter the list of decks.

  • HTML/Bootstrap Layout:
    • Use a card layout to present each deck's information.
    • Provide sorting options for deck name and player name.
    • Each deck entry should include a link or button to view its details (PokemonDecks/Detail?deckID=xx).

 

url: /PokemonDecks/Detail?deckID=xx

The detail page shows comprehensive information about a selected Pokémon deck, including the list of Pokémon cards it contains. It should retrieve the deck details and associated cards using the deckID.

  • HTML/Bootstrap Layout:
    • Display the deck's name and creator prominantly.
    • List the cards in the deck, using Bootstrap's list group or card deck components.
    • Each card in the list should link to its respective detail page.

 

Task 3: Tournaments [30%]

url: /Tournaments/Index

This page lists all tournament results available in the database. It should display information such as tournament name, date, location, and status. Users should be able to browse through the list and view 代写 DDWT Pokemon League  tournament results of interest.

  • HTML/Bootstrap Layout:
    • Use a table or card layout to present each tournament's information.
    • Include filters or search functionality to help users find tournaments by name, date, or location.
    • Each tournament entry should include a link or button to view more details about the tournament (Tournaments/Detail?tournamentID=xx).

 

url: /Tournaments/Detail?tournamentID=xx

The detail page provides comprehensive information about a specific tournament. It should display details such as the tournament name, date, location, participants, and match results.

  • HTML/Bootstrap Layout:
    • Display the tournament's information prominently at the top of the page.
    • List the participants and match results, using bootstrap elements
    • Include navigation buttons to return to the tournaments index page.
    • Implement error handling using Bootstrap alerts if an invalid tournamentID is provided or if the tournament is not found.

 

Mark Breakdown

Pages [90%]

  • Correct SQL statements
  • Correctly structured HTML in pages
  • P Grade:Basic bootstrap implementation, basic query implementation, very simplistic.  Basic HTML and HTML Forms understanding.
  • CGrade: Good bootstrap implementation and some investigation of bootstrap documentation.  Basic usage of bootstrap utilities.  SQL queries acceptable, somewhat optimised.  Code quality basic including expected HTML Forms attributes etc.  Consistent layout and professional looking pages as expected when using bootstrap CSS correctly.
  • D Grade:Excellent use of bootstrap documentation and classes demonstrating investigation and experimentation of what’s available to create excellent looking customised layouts.  SQL Queries are optimised, well crafted, page structure shows in-depth knowledge and thought of functionality.  HTML is optimised to reduce errors and improve user experience.  SQL demonstrates thought and includes aggregate and sub-queries to provide additional and useful information. All tables available used to obtain relevant information. Professional looking pages
  • HD Grade:Extensive exploration of bootstrap documentation and classes to create a custom layout using the available classes.  Razor code demonstrates experimentation with conditional statements around HTML, managing various value conditions with suitable messages, well structured and thoughtful code to reduce errors.  SQL demonstrates thought and includes aggregate and sub-queries to provide additional and useful information that is efficiently combined with Razor Code. All tables available used to obtain relevant information. Professional looking pages.

HTML Validation [10%]

  • Check that your final generatedHTML is valid and does not contain any errors.  You will need to run your page, then right click on it in the web browser and select “View Source” to check the html.   Images should have custom alt text etc.  

 

Note: All code must be done using the style and approach utilised throughout the course – you must not utilise lambda/LINQ expressions and your code must demonstrate the basic concepts covered based on the WebMatrix library.

 

 

Domain Model Diagram

 

标签:League,information,Bootstrap,page,HTML,should,Pokemon,DDWT,card
From: https://www.cnblogs.com/comp9321/p/18535272

相关文章

  • FIT1054 - Fantasy Football League
    A2a- FIT1054- Fantasy Football League0  |Welcometothe FFL  | ⚽Fantasy Football LeagueInthisassignment,youwillembarkonanexciting journey ofcreatingaFantasy Football League systemusingvariousdatastructuresandalgorithms......
  • CF1264E Beautiful League 题解
    CF1264E你有一张竞赛图,给你竞赛图中\(m\)条边的方向,让你对于没有给定的边确定方向使得整张图的三元环个数最多\(n\leq50,m\leq\frac{(n-1)n}{2}\)费用流好题三元环是一个非常难考虑的东西,我们考虑求他的补集:不是三元环的个数最少我们发现不是三元环的情况是存......
  • [广东强网杯 2021 团队组]love_Pokemon rce读取绕过
    五一结束了,真快啊!今天看一道RCE绕过类型的题目。上来先看看源码。点击查看代码<?phperror_reporting(0);highlight_file(__FILE__);$dir='sandbox/'.md5($_SERVER['REMOTE_ADDR']).'/';if(!file_exists($dir)){mkdir($dir);}functionDefenderBonus($......
  • Pokemon Go自動走路 iOS/Android 在家玩寶可夢不用出門 不用移動
    有時您可能想知道如何在不動的情況下玩PokemonGo。好消息是,我們將為您介紹PokemonGo自動步行,以偽造GPS位置。PokemonGo欺騙器將作為位置變換器引入。閱讀更多有關如何在PokemonGo中無需步行即可移動的方法。第1部分.是否可以不動地玩PokemonGO 在家玩寶可夢......
  • 寶可夢Pokemon Go虛擬搖桿iOS/Android免費下載
    PokemonGo仍然是迄今為止最成功的手機遊戲之一。這麼多年過去了,這款遊戲讓玩家以不同的方式參與其中。也許這款遊戲最大的吸引力在於其基於位置的設計,要求你去散步並將相機對準寶可夢。這是一種有趣的方法,但在某些情況下,它也可能是遊戲的主要限制。如果你不能出去,你就不能玩......
  • 常春藤盟校(Ivy League)
     Ivy英文名寓意及印象Ivy这个英文名字通常被认为具有神圣的寓意,常春藤作为一种植物,在以前被认为是一种神奇的植物,象征着忠诚honest、honesty。在希腊神话中,常春藤代表酒神狄奥尼索斯,象征着欢乐与活力,同时也象征着不朽与永恒的青春。123456......
  • 【2023年10月多校联训B层联赛2】 珠子 &&【October 2023 Multi-School League B Tier
    第一次用英语,见谅。为什么用英语?```Dev里懒得换输入法。```Link\(\textbf{gxyzoj\#3358}\)\(\textbf{LuoguU406794}\)DescriptionFhas\(n\)beadsarrangedinasequence,eachofwhichhasacolor,andatotalof\(m\)colors,numbered\(1,2,3,\cdots,......
  • 【Python数据分析课程设计】大数据分析—Pokemon 1996-2022年各世代宝可梦数据集分析
    一、选题背景宝可梦是一种受欢迎的媒体内容和游戏系列,由任天堂、GameFreak和Creatures等公司合作开发。它们是虚构的生物角色,具有各种不同的属性、技能和能力。自1996年首次推出以来,宝可梦已经成为全球范围内的文化现象。宝可梦不仅仅是娱乐产品,它们也在社会中产生了广泛的影响: ......
  • WS-Introducing Colleagues
    2023.11.04周六中关村中心教室:11Inthislessonyouwilllearnsetphrasestodescribepeople'sprofessionalstrengthsandresponsibilities.Bytheendofthislesson,youwillbeabletointroduceacolleaguefromyourworkplace.A.KeyVocabularyMatchthep......
  • Summer Pokemon
    SummerPokemon想认识一下这位朋友QWQSolution以下规定:\(n,m\)为原题中\(n,m\),\(x\)表示一次对决的判定轮数。\(a,b\)为长度为\(x\)的单增数组(具体意义见下),\(|a\cupb|=2x,a\cupb=\{1,2,\dots,2x\}\)。算法一我会爆搜!测试点\(2\)启发你,你只需要求......